DNS guide
TXT Record Setup Guide
TXT records store text data in DNS. They're how you add SPF, DKIM, DMARC, and domain verification records. Here's how to add them correctly — and the one rule that breaks most email setups.
The one rule
You can only have one SPF record. One TXT record starting with v=spf1. Two SPF records = immediate PermError. Every other TXT record can coexist.
Common TXT records
SPF
DMARC
Google domain verification
Microsoft domain verification
Inspect DNS in the browser
Open DNS Preflight →Step by step
FAQ
What is a TXT record used for?
Storing text data in DNS — mainly SPF, DKIM, DMARC, and domain verification for services like Google and Microsoft.
Can I have multiple TXT records?
Yes — except for SPF. You can have multiple TXT records but only one can start with v=spf1.
What host value do I use for DMARC?
_dmarc — the DMARC record always goes at _dmarc.yourdomain.com.
My DKIM key is too long — what do I do?
Some DNS providers split long TXT records into 255-character chunks. DKIM keys must be properly formatted — check your provider's documentation for long TXT record handling.
How do I verify my TXT records are live?
Use DomainPreflight Propagation checker — select TXT type, enter your domain, confirm the record appears.