Verification CNAMEs
Cloudflare warns that flattening every CNAME can break third-party domain verification, because the CNAME is no longer returned.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
A CNAME record cannot be used at the root (apex) of a domain because the apex must hold SOA and NS records, so DNS providers added ALIAS, ANAME or CNAME flattening: the provider resolves the target itself and answers with plain A and AAAA records.
Every zone starts with SOA and NS records at its top name, for example example.com.
RFC 1034 and RFC 2181 say a name with a CNAME may hold no other records, so a CNAME at the apex would hide the SOA and NS records.
Most domains also publish MX and TXT records at the apex, which would be impossible next to a CNAME.
Some providers reject the record, others accept it and break email or the zone. Both are bad outcomes.
| Feature | How it behaves | Documented by |
|---|---|---|
| CNAME flattening | Provider looks up the CNAME target and returns its IP addresses instead of the CNAME | Cloudflare |
| Alias record | Points the apex at selected AWS resources or another record in the same zone; answers as A or AAAA | Amazon Route 53 |
| ALIAS / ANAME | Vendor-specific record that resolves a hostname on the DNS server and serves the addresses | Offered by several DNS hosts under these names |
| Plain A record | You enter the IP address yourself; no provider feature needed | Any DNS host |
Cloudflare warns that flattening every CNAME can break third-party domain verification, because the CNAME is no longer returned.
If the target has no A or AAAA records, flattening returns an empty answer that looks like a propagation problem.
Route 53 uses the target default TTL for AWS resources and does not charge for alias queries to AWS resources, while CNAME queries are billed.
; not allowed: CNAME at the apex
; example.com. CNAME stores.example-shop.net. <- rejected or harmful
; standard alternative: A record with the IP from the service
example.com. 3600 IN A 192.0.2.44
; subdomain: normal CNAME
www.example.com. 3600 IN CNAME stores.example-shop.net.An ALIAS record is a vendor feature that behaves like a CNAME but can sit at the root of a domain. The DNS host resolves the target name and answers queries with the resulting A and AAAA records.
A CNAME is a standard record that sends resolvers to another name and cannot share a name with other records. An ALIAS is resolved by the DNS server, so resolvers see ordinary address records and the apex can also have MX and TXT.
CNAME flattening is when a DNS provider follows a CNAME chain itself and returns the final IP addresses instead of the alias. Cloudflare uses it to allow a CNAME at the zone apex.
They do the same job under different names, and providers use whichever label they like. Neither is an official DNS record type, so check your own host documentation for exact behavior and limits.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.