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