Last modified: October 14, 2022
A DNS cluster is a group of nameservers that share records and allows you to physically separate nameservers that handle the DNS requests from your web servers. This interface allows you to configure a DNS cluster and add servers to an existing DNS cluster.
For more information about DNS cluster configurations and steps to set them up, read our Guide to DNS Cluster Configurations documentation.
All servers in the DNS cluster must run PowerDNS if domains that use DNSSEC exist in that cluster. cPanel & WHM supports DNS Security Extensions (DNSSEC) in DNS clusters. PowerDNS servers with domains that have DNSSEC configured can configure DNS clusters.
Managing DNS clusters
Resellers must possess the DNS Clustering Account Creation Limit (ACL) privilege to view the DNS Clustering section of this interface. For more information about DNS cluster-related ACLs, read our Edit Reseller Nameservers and Privileges documentation.
Users who possess the All ACL privilege can add their own custom DNS servers to a cluster. Users with this ACL can also make changes to existing cluster members.
To modify DNS cluster settings, select whether to manage your DNS clusters as the
root user or as a reseller from the Managing DNS Cluster as: menu.
- Before adding custom DNS servers or changing existing cluster members, select the
rootsetting from the Managing DNS Cluster as: menu.
Global Cluster Options
This section of the interface allows you to enable and disable DNS clustering. You can also use this section to configure the Failure threshold for cluster members setting.
Enable and disable DNS clustering
To enable or disable DNS clustering, perform one of the following actions:
- To enable DNS clustering, click Enable DNS clustering.
- To disable DNS clustering, click Disable DNS clustering.
Failure threshold for cluster members
The Failure threshold for cluster members setting allows you to specify the number of
dnsadmin commands that may fail before WHM disables an unresponsive DNS cluster member.
We recommend that you disable unresponsive DNS cluster members to improve performance.
To configure the Failure threshold for cluster members setting, perform the following steps:
- Select the desired setting:
Select 10 (Default) to use the default setting, which allows cluster members to fail up to ten
We recommend that you use this setting.
Select the second setting to enter a custom failure threshold.Note:
If server down times or network interruptions are common in your hosting environment, we recommend that you increase the failure number count so that the system does not mark certain cluster members as offline. This may also increase server and network load because the system may repeatedly send some DNS requests.
Select Keep all cluster members online at all times to keep all of the servers in your DNS cluster continuously online, regardless of the number of failed
To receive notifications when the system disables an unresponsive member in your DNS cluster, select the Receive a notification when WHM disables an unresponsive cluster member checkbox.Important:
You must manually reenable disabled cluster members.
If a cluster member in the sync role is offline for an extended period of time, resynchronize the other server’s zones. This ensures that the cluster member is up-to-date.
Add a new server to the cluster
You must perform steps in other interfaces to fully configure a DNS cluster. For more information, read our Guide to DNS Cluster Configurations documentation.
To add a cPanel & WHM or cPanel DNSOnly® server to the DNS cluster, perform the following steps:
Select the server type from the Backend Type menu.Note:
To enable DNS clustering with SoftLayer or VPS.NET, you must first obtain an API username and key from VPS.net or SoftLayer. Then, select SoftLayer or VPS.NET from the Type menu.
Click Configure. The cPanel DNS Remote Configuration interface will appear.
Enter the hostname or IP address of the nameserver to add to the cluster in the Remote cPanel & WHM DNS host text box.Note:
For more information about how you can set up your cluster, read our Guide to DNS Cluster Configurations documentation.
Enter the WHM username for the nameserver in the Remote server username text box.
Enter the nameserver’s API token hash or remote access key in the Remote server access hash text box.
- To use an API token, enter a saved API token hash from the server, or log in to the server and create a new API token in WHM’s Manage API Tokens interface (WHM » Home » Development » Manage API Tokens).
- After you create an API token, make certain that you save the token hash in a safe location.
- When you create an API token for DNS clusters, use the DNS Clustering Access Control List (ACL) privilege. For more information, read the Edit Reseller Nameservers and Privileges documentation.
- To use a remote access key, log in to the server and locate the key in WHM’s Remote Access Key interface (WHM » Home » Clusters » Remote Access Key).
We deprecated WHM’s Remote Access Key feature in cPanel & WHM version 64. We strongly recommend that you use API tokens instead.
Select Setup Reverse Trust Relationship to automatically configure the DNS cluster on the remote server.Note:
- If you select this setting, you will not need to log in to WHM’s DNS Cluster interface on the remote server. However, you may do so if you wish to modify the remote server’s DNS cluster configuration.
- This setting automatically sets the remote server’s DNS role to Standalone.
Select Synchronize Zones Immediately if you want to synchronize the new server with the other nameservers in your cluster.
Select Debug mode if you want WHM to record DNS clustering transactions in the
Select a setting from the DNS Role menu to specify the server’s DNS role. The DNS role specifies how the server transfers information among the other servers in the DNS cluster.Note:
If you select the Synchronize DNS role and selected Synchronize Zones Immediately in step 7 above, the server will pull all DNS zones from the remote server. This behavior is unique to the combination of the Synchronize role and the Synchronize Zones Immediately option.
Click Submit to save your settings.
Unique DNS Clustering
This setting only appears if you manage your DNS cluster as a reseller.
By default, WHM uses the DNS servers in the
root user or
root-enabled reseller’s cluster. To add a different DNS server to the cluster, enable this setting.
- To enable this setting, click Enable unique DNS clustering for accounts owned by username.
- To disable this setting, click Disable unique DNS clustering for accounts owned by username.
- In the statements above, username represents the reseller user.
- Resellers can only change a DNS server’s role to the Synchronize or Write-only settings if the
rootuser adds that server to the DNS cluster.
Servers in your DNS cluster
This section allows you to view, add, and delete servers from your DNS cluster.
The Servers in your DNS cluster table displays the following information about each server in your DNS cluster:
|Hostname||The server’s hostname.|
|IP address||The server’s IP address.|
|Username||The WHM username that you used when you configured this server in the DNS cluster. Typically, this is either root or the username of a reseller account.|
|Type||The type of server: cPanel, SoftLayer, or VPS.NET.|
|Status||The version of cPanel & WHM that the server currently runs, and an icon that indicates the server’s status.
|Server Type||The server’s nameserver software.|
|DNS role||The server’s DNS role. You can choose from the following settings:
A Write-only server pushes records to the remote server without conflict resolution or checks. Two Write-only servers that attempt to write changes to a matching record on the same remote DNS profile server will cause a conflict and may corrupt data. Setting one or both of these DNS profile servers to Synchronize will avoid this problem.
|Actions||You can use the icons in this column to modify a DNS cluster server or to delete a server from the DNS cluster.|
Delete a server from a DNS cluster
- You must delete a server from a DNS zone before you add a replacement server to the DNS cluster. You cannot have two servers with the same hostname in a DNS cluster.
- If you remove a server from a DNS cluster, the records will no longer synchronize with the other servers in the DNS cluster. The records on the deleted server will also no longer exist on the servers that remain in the DNS cluster.
To remove a cPanel & WHM or cPanel DNSOnly® server from a DNS cluster, perform the following steps:
- Log in to the server that you wish to remove from the DNS cluster.
- Navigate to the DNS Cluster interface.
- In the Modify Cluster Status text box, select Disable DNS Clustering.
- Click Change.
- Click Return to Cluster Status.
- Log in to the servers that remain in the cluster.
- Navigate to the DNS Cluster interface (WHM » Home » Clusters » DNS Cluster).
- Locate the server that you wish to delete.
- Click the x icon () under the Actions heading.
When you return to the DNS Cluster interface, the server will no longer appear in the list of servers in the DNS cluster.
Edit a server in a DNS Cluster
You can change a server’s DNS role or edit the server’s configuration settings at any time.
To edit a server’s DNS role, perform the following steps:
- Locate the server that you wish to edit.
- In the DNS Role menu, select a new role for the server.
- Click the save icon () to save your changes.
To edit a server’s configuration settings, perform the following steps:
- Locate the server you wish to edit.
- Click the edit icon () under the Actions heading. The cPanel DNS Remote Configuration interface will appear.
- After you make your changes to the server’s settings, click Submit.