In WHM the nameserver IP settings shows as “no ip assigned” for a domain, but from the command line we can see there are too IP assigned for the domains, This will make my domain down, and change won’t effect related to this name server.
Here we can see the two IP as in the settings
root@server [~]# cat /var/cpanel/nameserverips.yaml --- ns1.domain.com: 11.22.333.444: 1 count: 2 zones: server.domain.com,domain.com ns2.domain.com: 11.22.333.444: 1 count: 2 zones: server.domain.com,domain.com
Execute the below script will update Name Server settings. and fix nameserver conflicts even issued /scripts/fixrndc doesn’t works
root@server [~]# /usr/local/cpanel/scripts/nameserverup
Now everything works fine
root@server [/scripts]# cat /etc/nameserverips 11.22.333.444=ns1.domain.com 11.22.333.444=ns2.domain.com