Named fails to start with "zone 'domain.com': already exists previous definition (Cpanel DNS Only)

This trick allows you to remove duplicated DNS entries on a DNS Only cluster with Cpanel.

As you can see below, on one of the Cpanel DNS Only servers, named is having trouble starting as there are duplicate entries within the named.conf.



The easiest fix for this is to run the following commands on each of the DNS only servers in the cluster.

mv -v /etc/named.conf{,.bak}
/scripts/rebuilddnsconfig







You can also double-check within WHM of the Cpanel DNS only server.

  • dns only
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Reset File and Folder Permissions and Ownership for a user account in Cpanel

Use this script to reset the permissions and ownership of files and folders on a Cpanel user...

Reset Permissions for directories to 0755 and 0644 on Cpanel

Sometimes, file and folder permissions can get confused, for example, 644 will revert to 664...