Cannot create account due to no nameservers

david364

Active Member
Sep 15, 2013
44
6
58
cPanel Access Level
Reseller Owner
I have no local nameservers because somehow I fell into the habit of using the nameservers of my hosting company.

When I click on "Create a New Account" I get an error message: "Your nameserver setup in Basic cPanel/WHM Setup is invalid. Please enter at least two nameservers there before attempting to create an account."

I am not a newcomer, and have many working accounts. Do I need to create nameservers just to get past this error message? I don't want such artificial nameservers to be used.

Note: during the procedure of specifying a new account, WHM allows one to specify external nameservers, so local nameservers should not be needed. Is this error message a bug? Or should I be using local nameservers?
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
Just stick your providers name servers in there it just needs something
and if your not using your servers dns you should disable bind or what ever your using
 

david364

Active Member
Sep 15, 2013
44
6
58
cPanel Access Level
Reseller Owner
Just stick your providers name servers in there
Sorry, don't understand "in there". When I click Create New Account I get the error message immediately, with no dialog.

Also, I am not knowingly using "bind"; I'm not sure what it does or how it relates to creating an account.

Does anyone else have answers to my questions?
 
Last edited:

david364

Active Member
Sep 15, 2013
44
6
58
cPanel Access Level
Reseller Owner
Also, I am not knowingly using "bind".
This page mentions "internal" and "external" nameservers without defining them. Do you mean that I should set up external nameservers that point to my hosting service nameservers? But how could WHM or Cpanel use such nameserver addresses? I'm more confused than I was.

I've submitted a request to my hosting company to research how my VPS uses bind.

Anyone else?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

You still need the local DNS zones on the cPanel server, even if the DNS is handled by an external server. Thus, you must browse to "WHM Home » Server Configuration » Basic cPanel & WHM Setup" and enter two name servers under the "NameServers" section at the bottom. You can enter any name servers you prefer here. Keep in mind that since the DNS is handled externally, no changes you make to the DNS on the cPanel server affect the authoritative DNS zone. Anytime you add a subdomain, or create an "A" record on the cPanel server, you have to manually add that entry in at your DNS hosting provider. It's why some users prefer to create their own name servers per the instructions at:

[Tutorial] Nameserver configuration on cPanel servers

Thank you.
 

david364

Active Member
Sep 15, 2013
44
6
58
cPanel Access Level
Reseller Owner
It makes absolutely no sense that either CPanel or WHM would need their own local nameservers that would mirror the external nameserver records that are authoritative for all the domains of all the accounts. If they had to look up a domain name, or reverse-lookup an IP address, why would they not use any of the nameservers known to the stack?

It's beginning to look like a bug to me. Please tell me why I should not report this as a bug.
 

david364

Active Member
Sep 15, 2013
44
6
58
cPanel Access Level
Reseller Owner
I have decided to switch my use of nameservers from my hosting company to local (private) servers. As a side effect, this will make this posting moot. I will continue to monitor this thread, but it is no longer of direct interest to me. I will leave it to someone else to post a bug on the CPanel bug system--it makes no sense to require a local nameserver system when creating a new account unless the local DNS is actually used.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Several functions of cPanel/WHM rely on the existence of the zone even when the local name server is disabled. For instance, this allows administrators to utilize features such as SPF/DKIM creation within cPanel (for use to determine which specific records to add to the remote DNS host), and allows administrators to convert from using a remote DNS server to a local DNS server. It also allows for the successful transfer of cPanel accounts from a server without local DNS hosting to a server with local DNS servers.

Thank you.