Introduction
If your Named or PDNS configuration becomes corrupted and needs to be rebuilt, you can do so through the command line.
Procedure
First, you will log into the server as root. After you're logged in as root, you can run the script to rebuild the configuration:
/scripts/rebuilddnsconfig
Once you've rebuilt the DNS configuration, restart your nameserver:
/scripts/restartsrv_named