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.

Remote Nameservers

Discussion in 'Bind / DNS / Nameserver Issues' started by mdsj, Oct 21, 2013.

  1. mdsj

    mdsj Registered

    Joined:
    Oct 10, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,
    I have outgrown my single Cpanel webserver now, and I've had to add a second one.

    I've installed Cpanel/WHM on the second server and during the installation I've told it that it's not to start BIND and that the nameservers are on the 1st server.

    I've just set up my first website account on the new server, and everything seems to have been set up correctly (including a local DNS zone), and its pointing to the nameservers on the 1st server.

    But I can't access the domain, an NSLOOKUP results in "Can't find x: server failed" which I know means it can't find a route to my new server.

    Do I need to do anything on the 1st server in order for the domain to be found on the 2nd server ?

    Just to clarify. For example.

    ns1.server1.com and ns2.server1.com have IP's of 123.456.1.100 and 123.456.1.101 and are associated with server1. Server1 has the hostname of server1.servers.com

    server2.com is where domain.x sits - server2.com has no BIND running and is told the IP's of the nameservers. server2 has the hostname of server2.servers.com.

    It goes without saying I can access WHM on the second server using server2.servers.com.


    I'm pretty sure I've missed a step somewhere. Any insights would be great.

    Thanks

    Mike
     
  2. mdsj

    mdsj Registered

    Joined:
    Oct 10, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok, I've got a route to my new server by manually adding a DNS Zone on server1 for the new domain on server2, but things are not right still as I now get the following error when sorting out DKIM and SPF.

    In order to ensure that SPF or DKIM takes effect, you must confirm that this server is an authoritative nameserver for domain.x. If you need help, contact your hosting provider.

    So although I have a fix in place, things are still not as they should be, which makes me think I've not set things up correctly.
     
  3. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    If name services for the domain(s) in the 2nd server are hosted in the 1st server, then all the DNS zones must be in the 1st server.
    In that case the DNS zones in the 2nd server have no effect whatsoever.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Is there any reason why you prefer not to run the name server on the second cPanel server? You could simply setup "NS3" and "NS4" name servers at the registrar and use the IP address of the second server. Otherwise, you may want to consider setting up a new cPanel DNS-Only machine and using it to handle the DNS for all of your hosting servers.

    Thank you.
     
Loading...

Share This Page