Nameserver IPs not showing in WHM?

In recent cPanel version “Nameserver IPs” section won’t show ips. All ips are present in /etc/nameserverips file but still ips missing.

root@root[~]# cat /etc/nameserverips
198.168.0.1=ns1.test.com
198.168.0.2=ns2.test.com

In that case correct ips entry in the following /var/cpanel/nameserverips.yaml file.

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

ns1.test.com:
“198.168.0.1?: 1
count: 1
zones: test.com
ns2,.test.com:
198.168.0.2: 1
count: 1
zones: test.com

Now check nameserver ips in WHM >> Main >> DNS Functions >> Nameserver IPs.

 

Both comments and pings are currently closed.

Comments are closed.