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 & nameservers

Discussion in 'Bind/DNS/Nameserver' started by sifuhall, May 10, 2009.

  1. sifuhall

    sifuhall Active Member

    Jun 25, 2006
    Likes Received:
    Trophy Points:
    Hello everyone.

    We have 2 servers with 2 different hosts and we are migrating them to a single host.

    We had ~60 accounts on host1 and 1 account on host2.

    We used WHM to move the ~60 clients from host1 to host2 with no issues.

    Because the server we used on host2 only hosted a single client the nameservers we used contained the name of this site and not the name of our hosting company and we would like to avoid any confusion with our clients and use the name of our company in our nameservers.

    We need to change the nameservers names (not IPs) to the same names we had on our old server (with host1). We updated this in the basic setup section, but can't seem to get the nameserver ips section to update.

    Also, all the accounts we imported now use the old nameserver names. Is there a quick way to update these?
    #1 sifuhall, May 10, 2009
    Last edited: May 10, 2009
  2. viraj

    viraj Well-Known Member

    Sep 28, 2006
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider

    You can do this by manually running a mass replace command through SSH in /var/named/*.db to change the zone files with the correct nameservers..
    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