A DNS entry for 'domain_name' already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed.

While adding addon domain under cPanel, I was getting error as below -

A DNS entry for 'domain_name' already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed.

Solution -

1. Please make sure the domain which you are trying to add the addon domain should not present as addon/parked(aliases)/sub-domain on the same server.

2. If it is not present then check the DNS entry in DNS zone file. You will need root SSH access for it. SSH to server and check the below file -
/var/named

3. If there is entry of domain then you can remove/kill the DNS entry using this command - 
/scripts/killdns domain_name

Please give a try now, it should work! You can verify the DNS entry by firing the using this command - 
cat /var/cpanel/userdata/$user_name/main

4. If you are still facing the same issue then you will need to check the other servers with the same DNS cluster. There should not be entry of domain on the other server which you are trying to add.

If there is DNS entry then you will need to remove that entry. (Please make sure the domain which you are trying to add is present as addon domain/parked domain(aliases)/sub-domain).

Note -

Please take backup of DNS zone file before editing it (for safe-side). You can fire below command for it -
cp -rp /var/named/domain_name.db /var/named/domain_name.db_backup


Was this answer helpful?

 Print this Article

Also Read

The operation timed out waiting for a response from the sending (SMTP) server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).

I was getting below error while setting up an email account in Outlook using POP setup with SSL -...

How to enable Hot Link Protection in cPanel?

To avoid other sites to use your website's bandwidth, you can enable the hot link protection....

How to renew the cPanel license on your server?

Quickest way to renew cPanel license - First, you may check if the server has valid license for...

This webpage is not found - Cannot export database

While exporting the database zip file from cPanel >> phpMyAdmin as well from SSH, I was...

mod_security rule [Id '-1'] triggered! ModSecurity: Access denied with code 403

While updating the contents in any of the CMS, I was getting a 403 error on the Litespeed server....

Powered by WHMCompleteSolution