CNAME Record β CNAME Record (Canonical Name / Alias)
Creates an alias pointing one domain or subdomain to another domain name.
CNAME
RFC 1035
3600 seconds (1 hour)
Routing & Resolution
BIND Zone File Syntax Example
www.example.com. 3600 IN CNAME cname.vercel-dns.com.How to Query & Check CNAME Records
dig +short CNAME www.example.comnslookup -type=CNAME www.example.comResolve-DnsName -Name www.example.com -Type CNAMERecommended Best Practices
According to RFC 1035, you CANNOT place a CNAME record at the zone apex (`example.com`) if MX or NS records exist. Use CNAME Flattening or ALIAS records for root domains.
- β’Aliasing `www` to your root domain or edge host (`cname.vercel-dns.com`)
- β’Configuring custom subdomains for SaaS tools (`status.example.com` -> `statuspage.io`)
- β’Automated SSL certificate validation (ACM, Let's Encrypt DNS challenges)
Common Configuration Mistake
Attempting to create a CNAME record on the root domain `example.com` on providers that do not support CNAME flattening, breaking email delivery.
DNS CNAME Record Questions & Answers
Common questions regarding DNS propagation, TTL settings, and zone file syntax.
The CNAME (Canonical Name) record instructs DNS resolvers to restart the query using the target domain name. It is the standard method for mapping subdomains (`www.example.com` or `shop.example.com`) to SaaS providers (Vercel, Shopify, Netlify, GitHub Pages).