Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Correcting Nameserver IP's in WHM/cPanel:  (Read 2163 times)

0 Members and 1 Guest are viewing this topic.

Karun

  • Guest
Correcting Nameserver IP's in WHM/cPanel:
« on: December 15, 2013, 07:38:14 pm »
Correcting Nameserver IP's in WHM/cPanel:


You might observe wrong nameservers IP allocated when you check the nameserver IP allocation from WHM>>  Main >> DNS Functions >> Nameserver IPs.

You can correct these IP’s simple with following:

1 ) Check the file /etc/nameserverips. It should show you something as follows:
        10.1.1.1=ns1.domain.com
        10.1.1.2=ns2.domain.com
      - Correct the entries here if the entries are not as per expectation.

2 ) Now open the file /var/cpanel/nameserverips.yaml.
      It should display you settings as follows
      —
      ns1.domain.com: “10.1.1.1″: 1
      count: ’1′ zones:
      domain.com
      ns2.domain.com: “10.1.1.2″: 1
      count: ’1′
      zones: domain.com
     - Edit the settings here as well if they are incorrect. Once done restart the cPanel service .

Now check the nameserver IP’s from WHM>> Main >> DNS Functions >> Nameserver IPs. 
It should now be corrected. ;)