Google Plus

Nameserver IP’s Missing in WHM Centos

Written by Mel Kham on . Posted in Frequently Asked Questions, Hosting, Linux tutorials

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

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

SK

|

Andrew look into your httpd.conf file at line no 350. There might be a syntax error.

andrew

|

hello I have this error

[root@cloud html]# /etc/init.d/httpd restart

then this appears

Starting httpd: httpd: Syntax error on line 350 of /etc/httpd/conf/httpd.conf: without matching section.

plz tell how to fix this.

SK

|

I am working on it. Stay tuned. Thanks for the comment.

adriana rizzati

|

You are right, I saw them just now and they are awesome!

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .