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:
    example.tld CNAME example2.tld.
    Such configuration is prohibited by RFC 1912 (para 2.4).

Resolution

Either remove the CNAME record with the indicated label, or leave the CNAME record and remove all other zone records with the indicated label.

Was this article helpful?
0 out of 0 found this helpful