Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English

What Is a TXT Record and What Is It Used For?

1 min read

A TXT record is a flexible type of DNS entry that stores plain text information about your domain. Originally intended for human-readable notes, TXT records are now used mostly by machines to verify ownership and to authenticate email. If you have ever been asked to “add a TXT record to prove you own the domain”, this is what that means.

What TXT records are used for today #

Although a TXT record can technically hold any text, in practice you will see them used for a handful of important jobs. Understanding these helps you know why a service is asking you to add one.

  • Domain verification: services like Google, Microsoft, and many SaaS tools ask you to add a unique TXT value to confirm the domain is yours.
  • SPF: the record that lists which servers may send email for your domain is a TXT record.
  • DKIM: the public key that validates your email signatures is published as a TXT record.
  • DMARC: your email authentication policy is a TXT record on the _dmarc host.

How to add a TXT record #

  • Log in to your DNS manager or control panel.
  • Open the DNS or Zone Editor section.
  • Create a new TXT record.
  • Enter the host or name the service specifies (often “@” for the root domain, or a specific name for DKIM).
  • Paste the exact text value provided, including any quotes if required.
  • Save and allow time for propagation.

Tips for getting it right #

TXT values are unforgiving, so accuracy is everything. Copy and paste rather than typing by hand, and do not add extra spaces or line breaks. For verification records you can usually remove the TXT entry once the service confirms ownership, though it is often safest to leave it in place. For SPF, remember the rule that you should have only one SPF TXT record, combining multiple senders into a single line.

Checking your TXT records #

After propagation, you can confirm a TXT record using a free online DNS lookup tool by searching for the TXT records on your domain or on the specific host. The value you added should appear exactly as entered.

Troubleshooting #

  • Verification failing: confirm the value is exact and on the correct host.
  • Record not visible: allow time for propagation before re-checking.
  • Multiple SPF issues: merge separate SPF entries into one record.

Need help? #

If a service’s verification is not passing, our support team can confirm the TXT record is placed correctly over live chat.

What are your feelings