I have a bind master (A), 220.127.116.11 and a slave (B), 18.104.22.168. Both running bind 9. The master (A) is to be taken out of service (not only the hardware but also the IP 22.214.171.124 can no longer be used) and a third host (C), 126.96.36.199 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 (188.8.131.52) of host (C) to the allow-transfer -list? And then add 184.108.40.206 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!