mdsj

Registered
Oct 10, 2013
4
0
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
 

mdsj

Registered
Oct 10, 2013
4
0
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.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,900
465
438
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.