The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changed server and updated nameserver ips but still showing old ip address

Discussion in 'Bind / DNS / Nameserver Issues' started by nrider321, Dec 6, 2014.

  1. nrider321

    nrider321 Member

    Joined:
    Dec 7, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    So I moved from one server to another and made a backup of old cpanel account. On new server through whm I restored that account and then gave it a new designated ip. I went to 'Edit DNS Zone' for that domain name and changed all the old ip numbers including the two nameserver ip listed as ns1. ns1. and saved the config.

    Even though saved in the 'Edit DNS Zone' there was no record at all under 'NS Record Report'. So in ssh I ran the script
    /usr/local/cpanel/scripts/updatenameserverips.

    Now the 'NS Record Report'. Was showing the ns1. ns2. entries but with the old namesever ip addresses.

    So in ssh I edited the following files which had the old ip addresses still listed
    vi /etc/nameserverips
    vi /var/cpanel/nameserverips.yaml

    Now the 'NS Record Report' lists the correct ip.

    The A records etc. at the domain registrar have all been changed to reflect new nameservers and ip and after checking have appeared to have gone through the propagation perioud.

    However the domain name is still not pointing to designated ip and getting 'server not found' message.

    When I go to 'Basic cPanel & WHM Setup' and then 'Add an A entry for the nameserver' it is still reporting the old nameserver ip addresses.

    Is there something that I am missing that is stopping domain name from pointing to this new server and why is 'Add an A entry for the nameserver' still reporting old ip addresses?

    Any help would be appreciated.

    Thanks.
     
  2. nrider321

    nrider321 Member

    Joined:
    Dec 7, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Well domain does appear to be pointing to correct ip and nameservers as showing in browser now. Had found that was working on other ISP networks and I guess the ISP that was using earlier keeps old cached DNS records for a lot longer.

    Still not sure why 'Add an A entry for the nameserver' is still reporting old ip addresses though.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I am happy to see the issue is now resolved. Note that the "NS Record Report" is not associated with DNS resolution. It's simply a visual guide that tells you which name servers are used in your DNS zones. The important entries are the name server IP address entries at the registrar, and the "A" records that you add for NS1/NS2 in your DNS zone.

    Thank you.
     
Loading...

Share This Page