How to switch master and slave servers?
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Tue Apr 10 04:48:58 UTC 2001
> Hello,
>
> My colleague just installed a Solaris 8 system with BIND 8.1.2 (I know it's
> not the newest version of BIND) as slave DNS server. The master DNS server
> is running a pretty old version of BIND (it's using /etc/named.boot and I
> tried to help her to determine the version of the BIND, but neither "dig" or
> "nslookup" could figure out which old version the master is running).
>
> Right now, my colleague got a new project that she needs to switch master
> DNS server to slave DNS server and slave DNS server to master DNS server.
>
> Here is what I think we can try:
>
> On slave (going to be master):
>
> (1) modify /etc/named.conf by replacing "type slave" to "type master" in all
> zone definition.
remove the masters clause.
> (2) copy all db zone files from original master server to current slave
> (going to be master) one.
> (3) modify the following line in all db files as:
> @ IN SOA original-master.abc.com root.original-master.abc.com (
> 1234567; serial
> ..... )
> ;
>
> To @ IN SOA new-master.abc.com root.new-master.abc.com (
> 1234567; serial
> .......... )
>
Up the serial #.
> (4) restart named daemon.
>
> On master (going to be slave):
>
> Doing the same thing as above except "master" to "slave".
add masters clauses.
change all the other slaves masters clauses to point to the
new master.
>
> Can anyone tell me if I missed anything else to switch master DNS server to
> slave DNS server and slave DNS server to master DNS server?
>
> Thank you very much for your help.
>
> HW.
>
>
>
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list