Search The Hostwinds Guides Knowledge Base

Perform a DNS Cleanup

Share This Article [TheChamp-Sharing]

There may come a time when your DNS Zone Files become cluttered with useless records, or even duplicates. Fortunately cPanel have thought ahead on this and incorporated a feature into WHM to clean this up for us. WHM provides the ability to run a DNS Cleanup, which will clean up nameserver configuration settings. This is helpful for eliminating duplicate nameserver configuration files that can lead to issues with the server and in the case a BIND configuration file becomes corrupt. Before following through with the steps below, it would be recommended that you take a backup of your current Zone files and configuration files. That way in the event something goes wrong, you will have a restore point.

This process should only be used on servers using BIND nameservers. This would be the default nameserver software that is used on most installations.

How Do I Perform a DNS Cleanup?

  1. Start off by Logging in to your WHM
  2. Navigate to DNS Functions in the WHM interface
    1. This can be located quickly by searching for DNS in the search bar
  3. Click Perform a DNS Cleanup
    Showing the location of the Perform a DNS Zone Cleanup function in WHM
  1. Ensure you have no configurations files open and don’t attempt to edit them during the cleanup process. This could cause some unwanted behavior or mess up the process.
    Showing the Perform a DNS Cleanup form in WHM


  2. Click Proceed


After you have clicked on the Proceed button. It could take some time for this cleanup to complete. While it is running, make sure that no changes are made to the configuration files that this is operating on.

Related Articles

If you should have any questions or would like assistance, do feel free to contact us through Live Chat or by submitting a ticket with our Technical Support team.