A TXT record, short for Text Record, is a type of Domain Name System (DNS) record that allows domain administrators to associate text information with a domain. TXT records are widely used for email authentication, domain verification, and providing additional domain-related information.
A TXT record stores human-readable or machine-readable text within the DNS for a given domain. While originally designed to hold general descriptive text, today TXT records primarily serve security and email authentication purposes.
Modern applications of TXT records include implementing protocols like SPF, DKIM, and DMARC to reduce email spoofing and improve deliverability.
They also play a role in services such as domain verification for SaaS platforms, SSL certificate validation, and ownership verification by search engines.
Each TXT record consists of:
When a TXT record is added to DNS:
For example, an SPF TXT record might include: "v=spf1 include:_spf.google.com ~all." This tells receiving mail servers which IP addresses are authorized to send emails on behalf of the domain.
TXT records play a critical role in:
An incorrect TXT record configuration can result in email delivery failures, inability to verify domain ownership, and increased vulnerability to spoofing.
TXT records are commonly used for:
Example scenario: A business adds a TXT record to verify its domain for Google Workspace and configure SPF to authorize Google’s mail servers for outbound email.
Yes. Domains often have multiple TXT records for SPF, DKIM, DMARC, and verification purposes.
Usually within a few minutes to 48 hours, depending on DNS caching and TTL settings.
No. TXT records are lightweight and only queried when needed for authentication or verification.
Verify all your emails, even Catch-alls in real-time with our Email Verification Software.
Create an account for free.