Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2010
    Posts
    34

    Default cPanel assigning nameservers in incorrect order

    I have server1 running WHM/cPanel which is in a cluster with ns1 and ns2, two separate servers.

    When I create an account through WHM, it creates the zone with ns2 in the SOA, ie: it assigns nameserver1: ns2 and nameserver2: ns1.

    In Server Configuration -> Basic cPanel & WHM Setup, I have the nameservers assigned as:
    Nameserver 1: ns1.domain.com
    Nameserver 2: ns2.domain.com

    so I have no idea why it's not assigning them in order.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: cPanel assigning nameservers in incorrect order

    When you mention it is assigning nameserver 2 first, do you mean on both nameservers for the DNS zone for the domain, it is listing:

    domain.com. 86400 IN NS ns2.somedomain.com.
    domain.com. 86400 IN NS ns1.somedomain.com.
    If so, please check WHM > DNS Functions > Edit Zone Templates > standardvirtualftp file and ensure it has the following:

    %domain%. %nsttl% IN NS %nameserver%.
    %domain%. %nsttl% IN NS %nameserver2%.
    If it does, then check /etc/wwwacct.conf file in root SSH and ensure it has this listed:

    NS ns1.somedomain.com
    NS2 ns2.somedomain.com
    If both appear to be correct, please open a ticket using WHM > Support Center > Contact cPanel or via the link in my signature.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. problem assigning ip for nameservers
    By hscorp in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-30-2009, 06:28 AM
  2. cpanel filters - what order do they use?
    By electric in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-01-2005, 10:27 AM
  3. Assigning several IP's to one Cpanel account in WHM
    By flashsonix in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-06-2004, 10:44 AM
  4. Assigning IPs to nameservers not working as usually in WHM
    By pingo in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-29-2003, 01:47 AM
  5. i want to order cpanel license now
    By hkewell in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 06-28-2002, 07:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube