Sometimes you can see wrong information regarding WHM/cPanel nameserver info. You can see it from Main >> DNS Functions >> Nameserver IPs . To fix this issue you need to edit two files /etc/nameserverips and /var/cpanel/nameserverips.yaml

1) Edit the file /etc/nameserverips .See an example below,

# cat /etc/nameserverips
192.168.1.100=ns1.yourdomain.com
192.168.1.101=ns2.yourdomain.com

2) Edit the file /var/cpanel/nameserverips.yaml , See an example below,

root@it [~]# cat /var/cpanel/nameserverips.yaml
---
ns1.yourdomain.com:
  "192.168.1.100": 1
  count: '1'
  zones: yourdomain.com
ns2.yourdomain.com:
  "192.168.1.101": 1
  count: '1'
  zones: yourdomain.com



Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>