Error CNAME - Cannot save zone record: Duplicate record


The following error is thrown when trying to add a record to a zone:

Cannot save zone record: Duplicate record


Error CNAME example.tld found, but other records with same label exist


Cannot save zone record: A DNS zone cannot contain a CNAME record for a host which already has another type of record. 

Please check that this zone does not have both CNAME and other types of records for the same host.


  1. A CNAME record exists with a label of a different record type.
    e.g., the zone for example.tld with the following records would cause an error:
    www.example.tld CNAME example.tld
    www.example.tld A
    As per RFC1912 (section 2.4), A CNAME record is not allowed to coexist with any other data. In other words, if example.tld is a canonical name for www.example.tld, you can't also have an MX record for www.example.tld, or an A record, or even a TXT record.

    Do NOT try to combine CNAMEs and NS records like this!: IN NS ns1.domain.tld IN NS ns2.domain.tld IN CNAME IN A

    Since no other records are allowed to coexist with a CNAME, the NS entries are ignored. Therefore all the hosts in the domain are ignored as well!

    If you want to have your domain also be a host, do the following: IN NS ns1.domain.tld IN NS ns2.domain.tld IN A IN A
  2. CNAME with a label that equals hostname exists:
    example2.tld CNAME example2.tld.


3.  There is a subdomain on a lower level, for example:

You want to add sub1.domain.ext as a CNAME, but there is a record on sub2.sub1.domain.ext.

While this configuration is not prohibited, it can cause a validation error.

In this case, remove or rename the sub2.sub1.domain.ext record, and add the sub1.domain.ext CNAME, or make sure you add CNAMES first.






Was this article helpful?
Additional questions? Submit a request