DNS TXT records store text values in DNS and are used for SPF, DKIM, DMARC, and domain verification. Learn how TXT records work and why they matter.
A DNS TXT record is a type of DNS record used to store text information associated with a domain. TXT records are widely used for email authentication standards like SPF, DKIM, and DMARC, as well as domain ownership verification for many services.
For email, TXT records help receiving providers verify whether a message is authorized. SPF records list allowed senders, DKIM records provide public keys for signature verification, and DMARC records define policy and reporting.
Because TXT records are central to email trust, correct formatting matters. Small errors can break authentication, so it’s important to validate records and confirm they’re published at the correct DNS hostnames.