How to Remove All DNS Cluster Servers in cPanel

Sometimes WHM (Clusters → DNS Cluster) shows old or unwanted cluster servers.
If you want to remove them all from the command line, follow these steps:


1. Backup Current Cluster Config (optional but recommended)

cp -r /var/cpanel/cluster/root/config /root/cluster_backup

This creates a backup at /root/cluster_backup.


2. Remove All Cluster Entries

rm -f /var/cpanel/cluster/root/config/*

This deletes all cached DNS cluster configuration files.


 

3. Restart cPanel/WHM

service cpanel restart

(or on systemd servers:)

systemctl restart cpanel

Verification

Log into WHM → Clusters → DNS Cluster.
It should now display:

There are currently no servers in your DNS cluster.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

How to Start/Stop or Restart Apache server

Apache is the HTTP server that is freely available over the internet. It is a kind of software or...

How to install Attracta SEO Tools plugin

RequirementscPanel/WHM needs to be installed on your server. Step 1: SSH into your server and go...

How to Install CpCleaner in cPanel through SSH?

Installation Run the following shell commands as root via SSH: wget -O cpc-1.0.3.tar...

How to Secure a cPanel/WHM Web Server

Here are a few basic steps that you should keep in mind for keeping a server secure. 1) Strong...