Changing the Nameserver IPs of the WHM If the client is getting the Nameserver IPs from the Main >> DNS Functions >> Nameserver IPs as Example: NameserverÂ Â Â IPÂ Â Â Â Â Â Â No. Zones ns1.localhost.comÂ Â Â 126.96.36.199Â Â Â 80 ns2.localhost.comÂ Â Â 188.8.131.52Â Â Â 80
>> From WHM to change them you can it from Main >> Server Configuration >> Basic cPanel & WHM Setup >> Nameservers
>> From the shell you can change it with the below mentioned process #vi /etc/nameserverips 184.108.40.206=ns1.localhost.com 220.127.116.11=ns2.localhost.com change it to the appripriate IP address and Local host. :wq! >> Then access the file /var/cpanel/nameserverips.yaml #vi /var/cpanel/nameserverips.yaml Replace the appropriate nameservers and the IP address. >> After that restart the service #service named restart OR #/etc/init.d/named restart #service cpanel restart OR #/etc/init.d/cpanel restart
Check for the changes in the Nameserver IPs of the WHM. Thats it !!! Done.