The cleandns Script
Valid for versions 82 through the latest version
Version:
82
Last modified: 2025 June 4
Overview
The /usr/local/cpanel/scripts/cleandns
script removes duplicate DNS zone definitions and checks for invalid syntax in the /etc/named.conf
file. 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 |