[Solved] A DNS entry for “xxx.com” already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed.

A DNS entry for “xxx.com” already exists. You must remove this DNS entry from all servers in the DNS cluster to proceed.

I got this error while trying to add a domain as an Addon on the primary cPanel account. The domain is already pointing into another servers which also using the same DNS cluster and that was actually creating the problem.
I have tried a lot and got one solution 🙂

Please do follow the steps below:

Step1 : First I made a backup of DNS zone of domain (Which we need to add as Addon).

cp -rp /var/named/domain.com.db /var/named/domain.com.db_back

Step2 : SSH to server (Where we need to add the domain as Addon)

csf-block

Step3 : Execute the following cPanel script:

/scripts/killdns domain.com

That’s it! Then try to add the domain as an Addon. It should be okay now 🙂

Now, verify this through command line:

cat /var/cpanel/userdata/$user_name/main

That’s it!! Please let me know if you need any help on it.

Also read:

Unable to establish a PHP session – PHPMyAdmin error
How to change main domain of a cPanel reseller account with an existing domain name?
Possible root compromise detected: Failed to create directory /dev/null – cPanel
[Solved]cPanel icon is missing from WHM’s List accounts option
How to enable login email alert on server – WHM and SSH login alert

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

6 Responses

  1. Mushtaq says:

    Very helpful 🙂

  2. lukro says:

    Helpful, thank you.

  3. Daoud says:

    Very very helpful, than you!

Leave a Reply

Your email address will not be published. Required fields are marked *