[sf-lug] sf-lug.net & sf-lug.com ready for DNS delegation & slaves, etc. (was: Re: Got domains? (sf-lug.{net, com} ...?))

Rick Moen rick at linuxmafia.com
Fri Sep 13 17:17:37 PDT 2019


Quoting Michael Paoli (Michael.Paoli at cal.berkeley.edu):

> Al & Rick,
> 
> DNS master for sf-lug.net & sf-lug.net.com is ready for slaves.
                              ^^^^^^^^^^^^^^  Obviously, 'sf-lug.com'.
> Master IPs: 198.144.194.238 2001:470:1f05:19e::3

Since I've mislaid my scorecard about who's already doing what, let's look:

linuxmafia:/etc/bind# grep sf-lug.net named.conf.local
linuxmafia:/etc/bind# grep sf-lug.com named.conf.local
linuxmafia:/etc/bind#

Okie-dokey.  Adding slave stanzas to /etc/bind/named.conf.local .
(Done.)  Now, let's see if I can remember how to do this in a suave and 
minimal-fuss way:

linuxmafia:/etc/bind# rndc reconfig
linuxmafia:/etc/bind# rndc reload sf-lug.net
zone refresh queued
linuxmafia:/etc/bind# rndc reload sf-lug.com
zone refresh queued
linuxmafia:/etc/bind# dig -t soa sf-lug.net @ns1.linuxmafia.com +short
ns0.sf-lug.net. Michael\.Paoli.cal.berkeley.edu. 1568315144 10800 3600 1209600 86400
linuxmafia:/etc/bind# dig -t soa sf-lug.com @ns1.linuxmafia.com +short
ns0.sf-lug.com. Michael\.Paoli.cal.berkeley.edu. 1568315124 10800 3600 1209600 86400
linuxmafia:/etc/bind#



Moving on to ns1.svlug.org, ISTR that all my efforts to add/remove zones
to NSD's conffile failed and ended up needing the daemon restarted, so
I'm not going to try again for effortless effect.

Added necessary two stanzas to nsd.conf.  Then:

root at gruyere:/etc/nsd3 # nsd-xfer -z sf-lug.net -f secondary/sf-lug.net.zone 198.144.194.238
[1568419724] nsd-xfer[32377]: info: send AXFR query to 198.144.194.238
for sf-lug.net.
root at gruyere:/etc/nsd3 # nsd-xfer -z sf-lug.com -f secondary/sf-lug.com.zone 198.144.194.238
[1568419743] nsd-xfer[32385]: info: send AXFR query to 198.144.194.238
for sf-lug.com.
root at gruyere:/etc/nsd3 # chown nsd:nsd secondary/sf-lug.net.zone secondary/sf-lug.com.zone
root at gruyere:/etc/nsd3 # nsdc restart
root at gruyere:/etc/nsd3 # dig -t soa sf-lug.net @ns1.svlug.org +short
ns0.sf-lug.net. michael\.paoli.cal.berkeley.edu. 1568315144 10800 3600 1209600 86400
root at gruyere:/etc/nsd3 # dig -t soa sf-lug.net @ns1.svlug.com +short
ns0.sf-lug.net. michael\.paoli.cal.berkeley.edu. 1568315144 10800 3600 1209600 86400
root at gruyere:/etc/nsd3 #

Seems to have done it.




More information about the sf-lug mailing list