Products
Features
Pricing
Sign in
Get started
Home
›
Guides
› CNAME records vs TXT records
CNAME records vs TXT records
The difference between CNAME and TXT records and when email uses each.
Key points
CNAME points a name to another name (e.g. mail.yourdomain.com)
TXT stores text — used for SPF, DKIM, DMARC, verification
Email authentication mostly uses TXT
Subdomains can use CNAME for verification
How to do it
TXT: for SPF/DKIM/DMARC/verification strings
CNAME: for subdomain aliases & some provider verifications
Follow the exact type each record asks for
Common mistakes
Using CNAME when TXT is required (and vice versa)
Forgetting trailing dots
Wrong record type = verification fails
Copy-paste DNS records — free
No card required — free forever up to 10 mailboxes.
More guides
What is a domain name and how does email use it
MX records explained
SPF records explained
DKIM records explained
See all guides