Issue
DNS Error | A new record cannot be created. An alias (CNAME) record cannot be added to this DNS name. The DNS name contains records that are incompatible with the CNAME record.
If you are trying to create a new alias (CNAME) record in the Windows DNS server and get the DNS error | A new record cannot be created. An alias (CNAME) record cannot be added to this DNS name. The DNS name contains records that are incompatible with the CNAME record” then below can be the causes for this
Possible Cause and Solution
This error comes mostly due to a conflict between DNS records. so one has to verify that the same name shouldn’t be used anywhere in your DNS
- Host A Record:- There are very high chances that there is a Host A record already created for the same DNS entry for ex:- you are trying to create a CNAME record of “www” in abc.com zone that points to www.xyz.com but abc.com zone is already has “www” Host A record that points to any IP address in this case you will encounter with this error. if this is the case then delete the Host A record and then create an alias (CNAME). There is no point in having both records. Sometimes registered DNS might auto-create a Host A record kindly remove this setting and do the setting accordingly.
- Wildcard Domain:- Make sure you don’t have this record created as wildcard (*.abc.com) Host A record or make sure there is no Zone created of the same fqdn in your local DNS or any first hop DNS for non-recursive queries.
Latest posts by Ravi Chopra (see all)
- Entra ID (Azure Active Directory): Migration and Integration Guide - 20 December 2024
- Active Directory Federation Services (ADFS): Implementation Guide - 16 December 2024
- Active Directory Backup and Recovery Strategy: Comprehensive Guide - 11 December 2024