WHM’s DNS cleanup repairs duplicate or problematic entries in the nameserver configuration. This guide explains when to use the tool and how to check the result on a cPanel server.

Before you start

Use this only on a server running BIND or PowerDNS, with the necessary WHM permissions. Back up the relevant configuration and confirm that the problem concerns the nameserver configuration rather than an incorrect DNS record or registrar setting.

Run the cleanup

  1. Log in to WHM and open DNS Functions > Perform a DNS Cleanup.
  2. Review the page and click Proceed.
  3. Wait for completion and review the summary or errors.
  4. Check that the nameserver is working and that the affected zones still answer the expected queries.

Proceed for DNS Cleanup

Cleanup is not a request to delete unused domain zones, change registrar nameservers or clear DNS caches on visitors’ devices. Investigate separately if the original DNS problem remains.