The cleandns Script
Valid for versions 82 through the latest version
Last modified: June 30, 2021
/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:
Use the following options with this script:
|Display the script’s help documentation.