Wrong nameserver, how to correct


Jun 18, 2009

I have a newly setup WHM. During welcome wizard, I entered incorrect name servers (ns1.mydomain.com and ns2.mydomain.com) and also point it to the wrong IP. This is because I mis interpreted the IP assignment sent to me by my host.

Now, everytime I tried making an account I am getting this error.

Using nameservers with the following IPs: xx.xx.xx.xx, xx.xx.xx.xx Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.

Now I was given the correct name server to use. My problem is I can't find a place in WHM to correct this. I went to each and every option under DNS functions but I am unsure where to put the correct name server.

Is there no direct way to change my name server from WHM? I am not familiar with SSH command also.

I will appreciate a walk through answer.

I did try to go to the documentation but it almost repeat what is in WHM window. There is no explanation or example for new users. (http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/DNSFunctions)

What I am trying to change is the details that appears when I click NameServer IP under DNS funtcions because it is wrong but there is no edit command in that page.



Staff member
Apr 11, 2011
Hello :)

You can utilize the following option to modify the "A" records for your name servers:

"WHM Home >> DNS Functions >> Edit DNS Zone"

In addition, you can modify the default name servers used in the DNS Zones of new accounts via:

"WHM Home » Server Configuration » Basic cPanel & WHM Setup"

The functionality of the "Nameserver IPs" page is for visual purposes only. It is a report, and not a page meant to configure any aspect of DNS. It reports the nameservers used by DNS zones on the server, as well as a count of the the number of zones that use a given nameserver. The important entries on the cPanel server are the "A" records that you have added for your name servers. Thus, as long as you have registered these name servers to the matching IP addresses at the domain registrar, then no further DNS configuration is required. The "Nameserver IPs" page can include cached data, so you can safely ignore any mentions of "No IP" or another IP address on that page as it may take some time before it updates.

Thank you.