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

Symptoms

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

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

or

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.

Cause

  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 1.2.3.4
    This error occurs because a CNAME record must have a label which is unique from all other records in the zone.

  2. CNAME with a label that equals hostname exists:
    example2.tld CNAME example2.tld.

Such configuration is prohibited by RFC 1912 (para 2.4).

 

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, and 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?
0 out of 1 found this helpful
Additional questions? Submit a request