What is a TXT record?

DefinitionA TXT record is a type of DNS record that stores text associated with a domain name, commonly used to verify domain ownership and to publish email authentication policies such as SPF, DKIM and DMARC.

TXT records were originally meant for human-readable notes about a domain, but today they mostly hold machine-readable data. Services such as Google Search Console and email providers ask site owners to add a TXT record containing a unique code to prove they control a domain in the Domain Name System.

Email authentication depends heavily on TXT records. A domain's SPF record lists the servers allowed to send its mail, DKIM records publish public keys used to verify message signatures, and a DMARC record tells receiving servers how to handle messages that fail those checks. Gmail and Yahoo now require bulk senders to publish a DMARC policy.

TXT record resources

Topic: Web standards and protocols

Cite this definition
APA

What is a TXT record? (2026, November 22). Glossary. https://glossary.io/txt-record/

MLA

“What Is a TXT record?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/txt-record/.

Chicago

“What Is a TXT record?” Glossary. Coywolf. November 22, 2026. https://glossary.io/txt-record/.

HTML link
<a href="https://glossary.io/txt-record/">What is a TXT record?</a>

Published