Secondary cPanel DNS with cPanel’s Clustering
cPanel has an option to cluster cPanel servers for DNS services. This allows you to have a true secondary, or tertiary, or… , dns server for your cPanel based hosts. This option is called Clustering and is installed but turned off on the default installation. But fortunately, the it is easily enabled. And if you don’t have a second cPanel server, cPanel offers a freely licensed “DNS Only” version. This is basically just the dns portion of the software… but for clustering acts the same as a standard cPanel server does. If you want the DNS Only version it can be obtained here: http://www.cpanel.net/products/cpanelwhm/related-server-software.html
Step 1 – Get your 2nd cPanel server (or cPanel DNS-Only server) up and running… we’ll call it “ns2″, assuming “ns1″ is on the main server.
Step 2 – Log into ns2′s WHM at http://your.ip.address:2087/ with your root password
Step 3 – Under ”Cluster/Remote Access” on the left side, select “Configure Cluster”
Step 4 – Under “Modify Cluster Status”, enable dns clustering if it is disabled.
Step 5 – Back under “Cluster/Remote Access” select “Setup Remote Access Key”.
Step 6 – Go ahead and “Generate New Key” for some reason I’ve had trouble with the existing key the 1st time.
Step 7 – Copy the Current Access Key, make sure you select the WHOLE KEY … scroll down to get it all.
Step 8 – Log in to ns1′s WHM with your root password
Step 9 – Under ”Cluster/Remote Access” on the left side, select “Configure Cluster”
Step 10 – Under “Modify Cluster Status”, enable dns clustering if it is disabled.
Step 11 – Under the Servers in your cluster section, add the ip address of ns2 and click configure.
Step 12 – When prompted for the access key, paste the whole key into the box.
Step 13 – Back under “Configure Cluster” your new ns2 should now be listed, change the Role to “Synchronize Changes” to start sending dns to that server.
Step 14 – Under “DNS Functions” on the left pane, select “Synchronize DNS Records” to push existing records to the new server.
Step 15 – You should now be able to query the new nameserver with nslookup for existing domains that you serve.
Step 16 – If all went well, update your registrar with the new name and ip address of your new secondary nameserver.
This is the perfect application for a small vps… We even offer a secondary cPanel dns only vps service that we install it for you, and only handles dns for a rather reduced rate of $5.95/month at Lagniappe Internet, http://www.LagniappeInternet.com/ . Perfect for vps resellers who don’t want the expense of maintaining their own secondary cPanel server but want the redundancy of a real secondary dns server.
|
Robert Porter holds Oracle Certified Professional-Java 6, MCSE, A+, Net+, Project+, Security+, and multiple CIW certifications. He has been in the hosting industry for more than a decade and is founder of Lagniappe Internet L.L.C., a privately owned, completely debt free, hosting company based out of New Orleans. Robert's background includes 25+ years in programming, databases, networking and systems administration. |



