Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Switching roles of bind master/slave

Avatar of Gustav_
Gustav_Flag for Sweden asked on
Linux NetworkingDNSNetworking Protocols
2 Comments1 Solution980 ViewsLast Modified:
I have a bind master (A), 1.1.1.1 and a slave (B), 2.2.2.2. Both running bind 9. The master (A) is to be taken out of service (not only the hardware but also the IP 1.1.1.1 can no longer be used) and a third host (C), 3.3.3.3 is to be added as a nameserver to the zone.

My migration strategy is:
1. Add (C) as a slave to (B)
2. Switch roles of (A) and (B) ie. make (B) the master and (A) a slave
3. Make sure all clients and customers use nameservers (B) and (C)
4. Take (A) out of service.

Going through the procedure above in detail, I've come up with a couple of questions I hope somebody can help me out with or point me in the right direction.

1. This should be pretty straight forward, only add the IP (3.3.3.3) of host (C) to the allow-transfer -list? And then add 3.3.3.3 as a DNS for the domain.
2. I guess this should only be a matter of moving the named.conf and zone-files from (A) to (B) and move the named.conf from (B) to (A) and reload the servers. But how is this done to minimize downtime?
3. Pretty straight forward, take tcpdumps on (A) to find out what hosts are using it as a resolver and remove it as a resolver for the domain.

Are there any more potential pitfalls to this? Any other considerations to be made? Is it possible to do this in a way as to minimize hassle even more than with the procedure above?

All hints, tips and pointers are more than welcome!