
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Guide to DNS Cluster Configuration | ||||||||
| Changed: | ||||||||
| < < | For WHM version 11.28 | |||||||
| > > | For WHM version 11.30 | |||||||
| Line: 9 to 9 | ||||||||
| A DNS cluster is a number of nameservers that share records. | ||||||||
| Changed: | ||||||||
| < < | This allows you to physically separate your nameservers so that in the event of, for instance, a power outage, you still have DNS functionality. This way, visitors can reach websites on your server more quickly after the web server comes back online. The cPanel DNS cluster feature only provides redundancy for DNS. It does not place Apache or any other services in a cluster configuration. | |||||||
| > > | Clustering allows you to physically separate your nameservers so that in the event of, for instance, a power outage, you still have DNS functionality. This way, visitors can reach websites on your server more quickly after the web server comes back online. (The cPanel DNS cluster feature only provides redundancy for DNS. It does not place Apache or any other services in a cluster configuration.) | |||||||
To optimally configure your DNS cluster, you will need 2 spare servers, both preferably running cPanel DNSONLY. You will also need at least 1 web server with cPanel & WHM installed.
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
Enabling DNS clustering on each server | ||||||||
| Changed: | ||||||||
| < < | First, you will need to enable DNS clustering via each server's WHM interface. | |||||||
| > > | First, you will need to enable DNS clustering via each server's WHM interface: | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < | DNS clustering is now enabled. Next, you will need to specify which server(s) you wish to cluster, or share DNS information with. | |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > | DNS clustering is now enabled. Next, specify which server(s) you wish to cluster, or share DNS information with. | |||||||
| ||||||||
| Changed: | ||||||||
| < < | Global cluster configuration options (in cPanel & WHM 11.25+)These 2 new features (available in version 11.25+ only) work together to notify you about and disable unresponsive DNS cluster members.Set your cluster's failure threshold | |||||||
| > > | Global cluster options | |||||||
This section allows you to specify the number of dnsadmin commands that are allowed to fail before WHM disables a member of your cluster. Disabling unresponsive cluster members can improve server performance. | ||||||||
| Changed: | ||||||||
| < < |
Set up cluster failure notifications | |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < | When you click this checkbox, WHM will notify you when it disables a cluster member due to unresponsiveness. WHM will send the notifications during DNS queue processing. | |||||||
| > > |
| |||||||
About your DNS cluster configuration | ||||||||
| Changed: | ||||||||
| < < | Before you set up your DNS cluster, it is worthwhile to consider how it will be configured. | |||||||
| > > | Before you set up your DNS cluster, consider how you will structure it.
Directly linking the web server to the nameservers | |||||||
| Creating a cluster setup with direct links between servers can decrease CPU load, improving the performance of your servers. The more steps, or "hops," between a web server and a nameserver, the slower the servers' performance will be. If at all possible, you should link your web server directly to the DNS servers, as shown in the diagram below. This is the ideal DNS setup. | ||||||||
| Changed: | ||||||||
| < < |
webserver.example.com sends DNS information directly to ns1.example.com and ns2.example.com. This is accomplished by using the WHM Configure Cluster feature to create a link on each server (see the instructions below).
If necessary, you may place the primary nameserver between the web server and the secondary nameserver. For each intermediate server you add, the data transfer time is 3 times slower than for a direct link. | |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > | In this example, webserver.example.com sends DNS information directly to ns1.example.com and ns2.example.com. You can create this setup by using the WHM Configure Cluster feature to link the web server directly to each nameserver (see the instructions below). | |||||||
| Changed: | ||||||||
| < < | This configuration can be accomplished by setting the web server to sync the primary nameserver, and setting the primary nameserver to sync the secondary nameserver (see the instructions below). | |||||||
| > > | Using the primary nameserver as an intermediary | |||||||
| Changed: | ||||||||
| < < | The least optimal configuration is one that uses multiple “hops,” or steps, between the web server and nameservers. This increases processor load on the servers, as their nameserver software works to update the DNS information on each hop, slowing response time. | |||||||
| > > | If necessary, you may place the primary nameserver between the web server and the secondary nameserver. For each intermediate server that you add, the data transfer time will be 3 times slower than for a direct link. | |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < | In this example, for web1.example.com to communicate with ns2.example.com, the information must be passed through 2 intermediary servers, increasing the overall processing load. This method is not recommended. | |||||||
| > > | You can create this configuration by setting the web server to sync the primary nameserver, and setting the primary nameserver to sync the secondary nameserver (see the instructions below). | |||||||
| Changed: | ||||||||
| < < | Adding servers to the cluster from the web server | |||||||
| > > | Using multiple intermediary nameservers | |||||||
| Changed: | ||||||||
| < < | On your web server's WHM interface, take the following steps: | |||||||
| > > | The least optimal configuration uses multiple “hops,” or steps, between the web server and nameservers. This increases processor load on the servers, as the nameserver software works to update the DNS information on each hop, slowing response time. | |||||||
| Changed: | ||||||||
| < < |
Specifying the web server's DNS role | |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < | Next, you will need to specify that you wish for this server to synchronize changes, or to write DNS data onto the nameservers in the cluster. | |||||||
| > > | In this example, for web1.example.com to communicate with ns2.example.com, the information must pass through 2 intermediary servers, increasing the overall processing load. We do not recommend this method. | |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > | Setting up the cluster from the web server | |||||||
| Changed: | ||||||||
| < < | In the Servers in your DNS Cluster table, under Dns Role, select Synchronize Changes next to each nameserver's hostname and IP. This will cause the web server to send DNS data to the nameserver. | |||||||
| > > | On your web server's WHM interface:
| |||||||
| Changed: | ||||||||
| < < | You do not need to link dedicated web servers to each other. | |||||||
| > > | Setting up a reverse trust relationship | |||||||
| Changed: | ||||||||
| < < | ||||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < | Adding servers to the cluster from the nameserver | |||||||
| > > | Specifying the web server's DNS role | |||||||
| Changed: | ||||||||
| < < | Next, you will need configure the cluster from each nameserver. | |||||||
| > > | Next, you must specify that you wish for this server to synchronize changes, or to write DNS data onto the nameservers in the cluster. | |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Deleted: | ||||||||
| < < |
Specifying the nameserver's DNS roleFinally, you will need to specify that you wish for this server to function as a standalone server — that is, a server that only receives DNS data from the other servers in the cluster. | |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > | The cluster is now set up. When you return to the WHM Configure Cluster screen, the remote server will be listed in the Servers in your DNS Cluster table. | |||||||
| Changed: | ||||||||
| < < | In the Servers in your DNS Cluster table, under Dns Role, select Standalone next to each web server's hostname and IP. This will allow the nameserver to receive information from the web server, but not send data to it. | |||||||
| > > | Important notes about setting up the DNS cluster | |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < | ||||||||
| > > |
| |||||||
|
View topic | History: r30 < r29 < r28 < r27 | More topic actions... | ||||||||