The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot create account due to no nameservers

Discussion in 'Bind / DNS / Nameserver Issues' started by david364, Jul 19, 2016.

Tags:
  1. david364

    david364 Member

    Joined:
    Sep 15, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    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
     
  3. david364

    david364 Member

    Joined:
    Sep 15, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    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?
     
    #3 david364, Jul 19, 2016
    Last edited: Jul 19, 2016
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  5. david364

    david364 Member

    Joined:
    Sep 15, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,675
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  7. david364

    david364 Member

    Joined:
    Sep 15, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  8. david364

    david364 Member

    Joined:
    Sep 15, 2013
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,675
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page