Definition
What it is
A TXT record (Text record) is a type of DNS record that allows arbitrary text to be associated with a domain [1]. Although originally a general-purpose field, it is now used primarily to publish email authentication policies (SPF, DKIM, DMARC) and to verify domain ownership with third-party services.
Why it matters
TXT records are essential for email deliverability. SPF, DKIM, and DMARC are published as TXT. They are also used to verify domains in Google Search Console, Microsoft 365, and other platforms. A misconfigured TXT can break email authentication.
How it works in practice
The TXT is defined in the DNS zone. For example, example.com. IN TXT "v=spf1 include:_spf.google.com ~all". A domain can have multiple TXT records at the same name, allowing SPF, DKIM, and domain verification to be combined [1]. Each TXT string is limited to 255 characters, but multiple strings can be used.
Connections
- dns — the system containing the record
- mx-record — the record that routes email
- spf — the authorized-sender policy
- dkim — the cryptographic email signature
- dmarc — the alignment policy
Common mistakes
- Exceeding the length. Each TXT string is limited to 255 characters; multiple strings must be used.
- Misconfigured SPF. An incorrect SPF can cause legitimate email to be rejected.
- Stale TXT records. Leaving old verification records can be a security risk.
Evidence
Etymology
Morphology
Variants
Typographical errors
TXT recordtxt-record
Plurals
TXT records
Semantic network
● broader ● narrower ● related
Sources
ManageEngine (2026). DNS record management. https://www.manageengine.com/products/oputils/tech-topics/dns-record-management.html
Cloudflare (2026). DNS record types. https://developers.cloudflare.com/dns/manage-dns-records/reference/dns-record-types/
Huawei Cloud (2026). Record Set Types and Configuration Rules. https://support.huaweicloud.com/intl/en-us/dns/index.html