A TXT record is a DNS entry designed to hold arbitrary text data associated with a domain. Originally intended for human-readable notes, it has become the workhorse of machine-readable domain configuration, carrying structured strings that other systems parse for verification and policy.
The most important use of TXT records today is email authentication. SPF policies, DMARC policies, and DKIM public keys are all published as TXT records. An SPF record lives as a TXT entry at the domain root, DMARC at _dmarc.yourdomain.com, and DKIM keys at selector-based hostnames under _domainkey.
TXT records are also how countless services verify domain ownership. When you connect a domain to Google Workspace, a payment processor, or a marketing platform, you are typically asked to add a unique verification token as a TXT record, proving you control the domain's DNS.
Because a domain can hold many TXT records, reading them is the fastest way to audit a domain's email and verification setup. A single misplaced character in an SPF or DKIM TXT record breaks authentication silently, so inspecting these records with a DNS lookup is a routine first step in troubleshooting deliverability.