This article explains why you receive the error “Record with same hostname already exists.” when attempting to create a CNAME record in UltraDNS and how to resolve the conflict.
Symptom
You receive the error message:
Record with same hostname already exists.
This occurs when attempting to add a CNAME record.
Steps to Reproduce
- Login at UltraDNS.
- Click on <yourdomain.com>.
- Under CNAME, click Add+.
- Enter <Host>.
- Enter <Points To>.
- Click Save.
- At this point you receive the error: Record with same hostname already exists.
Root Cause
No DNS record within a domain can share the same hostname as a CNAME record. According to DNS standards, a CNAME must exist alone and cannot coexist with other record types such as SOA, NS, A, TXT, or others using the same hostname.
Relevant RFC references:
Steps to Resolution
- Login at UltraDNS.
- Click on <yourdomain.com>.
- Search for the hostname you are attempting to use for the CNAME.
- Delete all DNS records that use the exact same hostname.
- Under CNAME, click Add+.
- Enter <Host>.
- Enter <Points To>.
- Click Save.
Verification
- Confirm no other record types exist with the same hostname.
- Create the CNAME record again and confirm it saves successfully without error.