cPanel DNS Cluster + Restrictive Recursor

gayan

Member
Jun 21, 2009
11
0
51
Hi All,

I am about to depoly 3 servers, 1 full cPanel/WHM server + 2x DNSOnly servers. The way I want to deploy the servers are like follows:

NS1 & NS2 will be the DNSOnly servers. They'll be read-only servers.
All DNS updates will be pushed from the Full cPanel server.
NS1 and NS2 needs to offer recursive lookups for selected IP ranges.

If you can provide my with details on how to achieve this, that would be great.

I am aware on how to setup the clustering options on cPanel but a bit lost on how to get the DNS requirements done.

Appreciate any and all feedback with regards to this matter :)

Kind Regards,
Asanka
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello Asanka,

I recommend using the Direct Links setup that we document on the link below:

Guide to DNS Cluster Configurations - cPanel Knowledge Base - cPanel Documentation

When accessing WHM >> DNS Cluster on the each DNSOnly server, choose Standalone as the DNS role:

Standalone — This method fetches DNS records from the remote server, but does not write records from the local server to the remote server.
When accessing WHM >> DNS Cluster on the full cPanel & WHM server, choose Write-only as the DNS role:

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.
NS1 and NS2 needs to offer recursive lookups for selected IP ranges.
You can configure the /etc/named.conf files on each DNSOnly server to allow recursive lookups for selected IP ranges. There's no feature in the UI to do this, but the custom changes you make to the /etc/named.conf files are not overwritten.

Thank you.