Nameserver not showing in WHM IP address list:

If the nameservers are not showing in the WHM Ip address list, you can perform the following steps to resolve the issue:

Login to the server using SSH and open the file and edit the file using the following command:

vi /var/cpanel/nameserverips.yaml

ns1.yourdomain.com:
xxx.xxx.xxx.xxx: 1
count: ‘1’
zones: yourdomain.com
ns2.yourdomain.com:
xxx.xxx.xxx.xxx: 1
count: ‘1’
zones: yourdomain.com

save and quit.