Saturday 19 May 2012

NameServer IPSs shows wrong in WHM

Hi,

Sometimes we can see that NameServers IPs in WHM shows wrong values,
Fix :
Check the file /etc/nameserverips and make sure that it shows as given below :

IPADDRESS1=ns1.example.com
IPADDRESS2=ns2.example.com

Example : 

192.168.1.1=ns1.example.com
192.168.1.2=ns1.example.com


If no, then edit the file and check the Name server IPs in WHM again. If yes, then execute the following script :
/scripts/updatenameserverips


Check Name server IPs in WHM again and if the issue persists then please edit the following file :
/var/cpanel/nameserverips.yaml
It should be as given below :

---
ns1.example.com:
 "192.168.1.1": 1
  count: '1'
  zones: example.com
ns2.example.com:
  "192.168.1.2": 1
  count: '1'
  zones: example.com

No comments:

Post a Comment