Nameserver IP’s Missing in WHM Centos

by
Share this Article: Facebook0Google+4Twitter7LinkedIn0Reddit0StumbleUpon0

This entry is filed under Cpanel Issues and tagged Name-server IP’s missing in WHM, Name-server IP’s not shown in WHM,

I got the same issue  today   when i was  trying to add nameservers  to  my original site.

Some time’s it happens that when you try to access the name-server IP’s from WHM >> Main >> DNS Functions >> Nameserver IPs it either shows no IP’s or show incorrect information.

To fix the issue you need to correct the entries for the name-server’s IP in the below two files ::
this:
/etc/nameserverips

and
/var/cpanel/nameserverips.yaml

First, check the entries in the /etc/nameserverips file, they  should look like in the below output ::

root@server [~]# cat /etc/nameserverips
192.168.1.1=ns1.yourdomain.com
192.168.1.2=ns2.yourdomain.com

And if the entries in the above files are correct then check the next file it should show the below output ::

root@server [~]# cat /var/cpanel/nameserverips.yaml

ns1.yourdomain.com:
“192.168.1.1″: 1
count: ’1′
zones: yourdomain.com
ns2.yourdomain.com:
“192.168.1.2″: 1
count: ’1′
zones: yourdomain.com

Now  if  you back to  your WHM. the IP case  should  be  fine

good luck

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+4Twitter7LinkedIn0Reddit0StumbleUpon0