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 ::
First, check the entries in the /etc/nameserverips file, they should look like in the below output ::
[email protected] [~]# cat /etc/nameserverips
And if the entries in the above files are correct then check the next file it should show the below output ::
[email protected] [~]# cat /var/cpanel/nameserverips.yaml
Now if you back to your WHM. the IP case should be fine