Hi there,
I am fairly familiar with cpanel/WHM, but its my first time working with DNS only and have some questions.
What I have is:
two registered nameservers:
ns1.server.com
ns2.server.com
Both are at the moment hostnames for two VPSes.
15 other servers, which have hostnames as:
serv1.server.com
serv2.server.com
serv3.server.com
.............
serv15.server.com
All are running CentOS 5.3
All servXX machines have NSD running.
Now, what I've done is install DNSonly on only ns1.server.com (for now). I will install it on ns2 in a few hours.
What I've done is configure clustering by following the guide at:
ConfigureCluster < AllDocumentation/WHMDocs < TWiki
and in /etc/resolv.conf I've added the IPs for ns1 and ns2, it unfortunately not working. When I try to lookup a domain name it fails:
Another question I have is does it matter on which end do I configure clustering. Should I add the IPs for ns1 and ns2 on each machine (serv1 trough serv15) or should it be the other way around -- add the IPs for each machine (serv1 trough serv15) in the WHM of ns1 and ns2? Or does it make no difference?
Third question is -- when I set dns Role to synchronize changes on both ends, should each machine (serv1 trough serv15) still run NSD/BIND or should I disable it? I saw this questions in a few threads in the forum, but none of them had an answer.
Last but not least -- if you can summarize the answer to my questions above in just a couple of sentences, I'll be happy to start over and follow your instructions.
Thanks very much in advance.
I am fairly familiar with cpanel/WHM, but its my first time working with DNS only and have some questions.
What I have is:
two registered nameservers:
ns1.server.com
ns2.server.com
Both are at the moment hostnames for two VPSes.
15 other servers, which have hostnames as:
serv1.server.com
serv2.server.com
serv3.server.com
.............
serv15.server.com
All are running CentOS 5.3
All servXX machines have NSD running.
Now, what I've done is install DNSonly on only ns1.server.com (for now). I will install it on ns2 in a few hours.
What I've done is configure clustering by following the guide at:
ConfigureCluster < AllDocumentation/WHMDocs < TWiki
and in /etc/resolv.conf I've added the IPs for ns1 and ns2, it unfortunately not working. When I try to lookup a domain name it fails:
I can however successfully telnet at port 53 on both IPs, which means, that BIND on both is working.[email protected] [~]# dig +trace cpanel.net
; <<>> DiG 9.3.4-P1 <<>> +trace cpanel.net
;; global options: printcmd
. 419698 IN NS D.ROOT-SERVERS.NET.
. 419698 IN NS E.ROOT-SERVERS.NET.
. 419698 IN NS F.ROOT-SERVERS.NET.
. 419698 IN NS G.ROOT-SERVERS.NET.
. 419698 IN NS H.ROOT-SERVERS.NET.
. 419698 IN NS I.ROOT-SERVERS.NET.
. 419698 IN NS J.ROOT-SERVERS.NET.
. 419698 IN NS K.ROOT-SERVERS.NET.
. 419698 IN NS L.ROOT-SERVERS.NET.
. 419698 IN NS M.ROOT-SERVERS.NET.
. 419698 IN NS A.ROOT-SERVERS.NET.
. 419698 IN NS B.ROOT-SERVERS.NET.
. 419698 IN NS C.ROOT-SERVERS.NET.
;; Received 500 bytes from 69.175.11.198#53(69.175.11.198) in 0 ms
net. 172800 IN NS A.GTLD-SERVERS.net.
net. 172800 IN NS I.GTLD-SERVERS.net.
net. 172800 IN NS B.GTLD-SERVERS.net.
net. 172800 IN NS C.GTLD-SERVERS.net.
net. 172800 IN NS E.GTLD-SERVERS.net.
net. 172800 IN NS M.GTLD-SERVERS.net.
net. 172800 IN NS L.GTLD-SERVERS.net.
net. 172800 IN NS F.GTLD-SERVERS.net.
net. 172800 IN NS G.GTLD-SERVERS.net.
net. 172800 IN NS D.GTLD-SERVERS.net.
net. 172800 IN NS J.GTLD-SERVERS.net.
net. 172800 IN NS H.GTLD-SERVERS.net.
net. 172800 IN NS K.GTLD-SERVERS.net.
;; Received 485 bytes from 128.8.10.90#53(D.ROOT-SERVERS.NET) in 29 ms
dig: couldn't get address for 'A.GTLD-SERVERS.net': failure
[email protected] [~]#
Another question I have is does it matter on which end do I configure clustering. Should I add the IPs for ns1 and ns2 on each machine (serv1 trough serv15) or should it be the other way around -- add the IPs for each machine (serv1 trough serv15) in the WHM of ns1 and ns2? Or does it make no difference?
Third question is -- when I set dns Role to synchronize changes on both ends, should each machine (serv1 trough serv15) still run NSD/BIND or should I disable it? I saw this questions in a few threads in the forum, but none of them had an answer.
Last but not least -- if you can summarize the answer to my questions above in just a couple of sentences, I'll be happy to start over and follow your instructions.
Thanks very much in advance.