KrisLowet

Member
Feb 15, 2018
7
2
3
Sint-Truiden, België
cPanel Access Level
Root Administrator
Hi

I'm setting up some new cPanel servers. I have read next documentations, but I still have some questions about the DNS clustering option.
  1. DNS Cluster - Version 68 Documentation - cPanel Documentation
  2. Guide to DNS Cluster Configurations - cPanel Knowledge Base - cPanel Documentation
Situation
I have three separated DNSONLY nameservers:
  • ns1.domain.com
  • ns2.domain.com
  • ns3.domain.com
I have two separated webservers with cPanel & WHM:
  • web01.domain.com
  • web02.domain.com
Questions
I would like to configure a direct-links structure.
  1. Do I have to configure DNS Cluster only on the three nameservers? What role do I best give them? Standalone?
  2. Do I have to put both webservers into the cluster?
  3. If so, do I add all three nameservers to both the webservers? With what role? Write-only?
  4. Do I have to add both webservers to the three nameservers? With what role?
Thanks
Kris
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
  • Do I have to configure DNS Cluster only on the three nameservers? What role do I best give them? Standalone?
  • Do I have to put both webservers into the cluster?
  • If so, do I add all three nameservers to both the webservers? With what role? Write-only?
  • Do I have to add both webservers to the three nameservers? With what role?
Hi Kris,

You actually only need to configure clustering on the two web servers using the "WHM >> DNS Cluster" option. Use this option via WHM on each web server to add the NS1, NS2, and NS3 DNSONLY servers. You can choose "Synchronize" or "Write-Only" as the DNS role when doing this:


Synchronize
— This method synchronizes records between the local server and the remote server.
Write-only
— This method pushes the local server's records to write to the remote server, but does not query records from the remote server to write to the local server.
If you use "Synchronize" instead of "Write-Only" as the DNS roles, then it will prevent the creation of a DNS zone on any hosting server in the cluster if it already exists (e.g. Customer on Web Server 1 can't create addondomain123.tld if a customer on Web Server 2 has already created addondomain123.tld).

Also, remember to enable "Setup Reverse Trust Relationship" for each DNSONLY server you add when configure clustering using the "WHM >> DNS Cluster" option on the web servers. If you select this option, you will not need to log in to WHM's DNS Cluster interface on the remote DNSONLY server.

Let us know if you have any additional questions.

Thanks!