restore master server question.

Kevin Darcy kcd at daimlerchrysler.com
Wed Nov 24 02:01:46 UTC 2004


Chuck Rock wrote:

>Hyposthtically, I've lost my master dns server.
>
>Is there an easy way to use named-xfer or something to rebuild the master
>zones from a secondary dns server if I have the zone configured in the
>named.conf?
>
You could configure your master temporarily as a slave for all of the 
zones of course.

Or, you could use "dig axfr" (named-xfer doesn't exist as of BIND 9) 
from the command-line or zone transfers from the Net::DNS Perl module, 
to recreate the zonefiles from the slave. I'm sure there are other ways 
too. This is all assuming, of course, that you don't have the necessary 
trust relationship set up, privileges, a loginid, or whatever, to do a 
file/directory-oriented synchronization with the slave via 
rsync/scp/ftp/whatever...

- Kevin




More information about the bind-users mailing list