DNS Basics2026-04-035 min read

What is a TXT record?

Learn what TXT records are used for, including SPF, verification, and other DNS-based policies.

What TXT records are

A TXT record stores free-form text in DNS.

Although TXT records were originally general-purpose text entries, they are now widely used to publish email policies, service verification values, and other machine-readable settings.

Common TXT record uses

  • SPF records
  • Domain ownership verification
  • Third-party service verification
  • Mail-related policies and metadata

Why TXT records are important

Many modern cloud and email services rely on TXT records during setup and validation.

They are often one of the most heavily used DNS record types during migrations and security reviews.

Related Tools