Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

dns forwarding help

Discussion in 'Bind/DNS/Nameserver' started by 13erla, Nov 23, 2003.

  1. 13erla

    13erla Member

    Aug 21, 2003
    Likes Received:
    Trophy Points:
    Chi Town USA
    i have my domain with a company.. where i have dns.. i have it sending traffic to server 1. and i need to have server 1 send traffic to server 2. this way when i have the company change the IPs to server 2.. i won't have any down time or email on both servers.

    what in the dns zone needs to be switched for this to work?

    thanks in advance
  2. shaun

    shaun Well-Known Member Verifed Vendor PartnerNOC

    Nov 9, 2001
    Likes Received:
    Trophy Points:
    San Clemente, Ca
    cPanel Access Level:
    DataCenter Provider
    i would assume you are transfering all accounts off one box to a new box. When i do somthing like this for a customer usually what i do is copy all the accounts over to the new box and then i will backup the /var/named on server1 and scp over all the zones from server2 back onto server1. i then rebuild named.conf using /scripts/rebuildnamedconf just as a precausion. After than i run a script i wrote which you can get here... and restart bind. Then i would assume your going to transfer the nameservers over to the other machine...


    1. Move accounts over
    2. backup /var/named on server1
    3. scp over /var/named from server2 to server1
    4. rebuild named conf if you want to or just copy /etc/named.conf from server1
    5. update serial number on all zones
    6. restart bind
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice