When to Use CNAME Flattening at the Domain Apex
A DNS zone apex such as example.com holds required records for the zone and often holds MX and TXT records too. An ordinary CNAME cannot coexist with other data at the same owner name. Some providers offer CNAME flattening or an equivalent managed alias. The authoritative service resolves the target and returns address answers to clients.
Decide whether the alias fits
- Read the destination’s instructions for the root domain. Check whether it supplies stable addresses or requires a hostname target. Verify that your authoritative DNS provider supports apex aliasing and how its editor labels that feature.
- Record current MX, TXT, CAA and address records before editing. Follow the provider’s compatibility rules and avoid deleting email or verification entries to make an ordinary CNAME fit.
- Query A and AAAA for the apex from each authority and verify that mail and verification records remain present. Test the destination hostname over HTTPS and confirm that its certificate covers the apex.
An apex flattening feature can change what a verification service sees. For example, a verifier that explicitly checks for a visible CNAME may not accept address answers for an alias. Use the verification method the destination documents and preserve the previous apex configuration for rollback.
Related guides
- How to Create a CNAME Record for a Subdomain
- How to Export and Review a DNS Zone Before Editing It
- How to Check MX Records for Incoming Mail
- Domains and DNS category
Official references
Ferkesh Hosting. Last reviewed .
Спасибі за відгук!