How to Set Up A DNS Clusters in WHM

Prerequisites Step 1: Log in to WHM either with the root account. Normally you will use one of the URLs below; Step 2: Enable the DNS Cluster Feature Step 3: Add Servers to the Cluster Step 4: Generate the Remote Access Key On the remote server: Step 5: Configure Synchronization Settings Step 6: Ver

Last updated 30 Nov 2026Also in: VPS, Dedicated Servers, cPanel

Prerequisites

  • Have root access to each server.
  • Ensure all servers in the cluster are running cPanel/WHM.
  • Verify network connectivity between the servers.
  • Decide on the DNS roles for each server (e.g., primary, secondary, standalone).

Step 1: Log in to WHM either with the root account. Normally you will use one of the URLs below;

http://your_server_ip:2087

https://your_server_hostname:2087

This image has an empty alt attribute; its file name is image-703.png


Step 2: Enable the DNS Cluster Feature

  1. Log in to WHM on the primary server.
  2. Navigate to Home > Clusters > DNS Cluster.
  3. Click Enable DNS Clustering.
  4. Save the changes.

Step 3: Add Servers to the Cluster

  • Go to Home > Clusters > DNS Cluster in WHM.

  • Under Manage DNS Cluster, click Add a new server.

  • Enter the following details:

    • Remote server key: Generate the key from the remote server (explained below).
    • Server type: Select the server type (e.g., cPanel).
    • IP address: Enter the IP address of the remote server.
    • DNS role: Choose the role for the server:
      • Standalone: Does not sync with others.
      • Synchronize Changes: Syncs changes to this server.
      • Write-Only: Changes are sent to this server but not synced back.
  • Test the connection and click Submit.


Step 4: Generate the Remote Access Key

On the remote server:

  1. Log in to WHM.
  2. Navigate to Home > Clusters > Remote Access Key.
  3. Copy the key provided.
  4. Paste this key into the Remote server key field on the primary server.

Step 5: Configure Synchronization Settings

  1. On the primary server, go to Home > Clusters > DNS Cluster.
  2. For each server in the cluster, ensure the synchronization settings align with your requirements:
    • Enable DNS Synchronization if needed.
    • Select the desired role (Synchronize Changes or Write-Only).

Step 6: Verify Cluster Functionality

  1. Create a test DNS zone on one server and check if it synchronizes across the cluster.
  2. Use tools like dig or nslookup to ensure DNS records resolve properly from different servers.

Step 7: Monitor and Maintain the Cluster

  • Regularly check the cluster status in Home > Clusters > DNS Cluster.
  • Keep servers updated and ensure proper communication between nodes.

Conclusion

Setting up a DNS cluster in WHM improves DNS redundancy, ensures faster resolutions, and reduces downtime risks. By configuring synchronization properly, you can create a robust DNS infrastructure for your hosting environment.