Results 1 to 4 of 4

Thread: Migrating DNS servers

  1. #1
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    2,035
    Distro
    Xubuntu 14.04 Trusty Tahr

    Migrating DNS servers

    Has anyone here tried migrating DNS servers?

    I mean, we are currently running 1 master and 1 slave dns servers running Red Hat 9. The hardware are just Desktop type Pentium 4 computers and no RAID, no backups!
    The situation is really bad although the dns service and requests are still running smoothly, the slave dns hard drive starts to show signs of failure.
    I don't want to wait for them to fail completely so I'm considering to create new dns servers with Ubuntu 12.04.

    Any suggestions on how to configure and test a DNS server? I don't want to just replace the old servers and expect the new ones to takeover with no problems.
    Also, how will you migrate? In terms of IP address and hostnames, will you shutdown the old ones, and use their IP address as you turn on the new ones? Is it that simple?

    Any advice is appreciated.
    Thanks!
    "I learned a lot from repeatedly breaking my system and then reinstalling. Oh, and a lot of GOOGLE searches too!"
    The best Ubuntu derivative: Linux Mint
    Relax. Head to the Community Cafe
    The Philippine Team

  2. #2
    Join Date
    Dec 2007
    Beans
    475

    Re: Migrating DNS servers

    Quote Originally Posted by nerdtron View Post
    shutdown the old ones, and use their IP address as you turn on the new ones
    Yes, that's what I would do. That way you don't have to mess with your DHCP settings. Your clients will still point to same IP addresses for name resolution, they'll just be querying the new servers instead.

    Are you using bind? If you are, you can just copy your db files over to the new bind and reference those files in your named.conf.local. If you want to test the new DNS server first, just point a single client to it or use the dig command on the server itself:
    Code:
    dig @localhost [some domain]

  3. #3
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    10,072
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Migrating DNS servers

    I'd replace the slave first and point the new slave server to the existing master. After the records are transferred to the new slave, you can replace the master. You'll then have one server in production throughout the switchover.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,613

    Re: Migrating DNS servers

    You can use 3 DNS servers too, for more fault tolerance.
    SERVER: Azure datacenters, Hyper-V

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •