The cleandns Script

Valid for versions 82 through the latest version

Version:

82

Last modified: June 30, 2021


Overview

The /usr/local/cpanel/scripts/cleandns script removes DNZ zones that do not have a cPanel account owner. It also removes duplicate DNS zone definitions. This script only supports BIND and PowerDNS servers.

Run the script

To run this script on the command line, use the following format:

/usr/local/cpanel/scripts/cleandns [options]

Options

Use the following options with this script:

Option Description Example
--help Display the script’s help documentation. --help

Additional Documentation