Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm planning to upgrade my primary dns server. To avoid a downtime i'm planning to create vps where i will have same configured dns server. Till i reboot primary dns server i'm planing to change VPS dns server's ip to what Primary dns has so all the traffic and query should answer the new vps dns server. Is this a good plan ? Actually i do not know how to perform this i'm afraid i will miss something . . . P.s i have authoritative dns zones.

All i want is to replace Primary dns server temporary to avoid downtime just need a simple way how to do this.

I'm using bind.

share|improve this question

migrated from stackoverflow.com Apr 10 '11 at 20:25

This question came from our site for professional and enthusiast programmers.

2 Answers 2

I would not use that plan (an IP switch) if you want to have 100% uptime.

What you need to do is go to your registrar and add a second name server with the ip of your backup that youre temporarily creating. Then after your work on the primary is done, go back to the registrar and remove the backup.

share|improve this answer
  1. Set up a secondary name server as a slave. You can use your VPS
  2. Contact your registrar to add your secondary name server (verify with dig -t ns yourdomain.tld)
  3. Wait for your new secondary nameserver to appear on the root servers for your top level domain
  4. Shutdown your primary nameserver
  5. Upgrade your primary nameserver
  6. Start up your primary nameserver
  7. Remove your secondary nameserver from your registrar
  8. Shutdown your secondary nameserver

I'd definitely consider having a more permanent solution to a secondary nameserver as a slave to avoid all this hassle going forward.

Any questions, just ask.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.