Glossary / TXT record

TXT record (DNS text record)

A TXT record stores arbitrary text in DNS that other services can read. Most often it holds not human words but technical strings: proof that you own the domain, and the email rules SPF, DKIM, and DMARC. In effect it is a universal "note" inside the domain's zone.

Check your site

>

TXT was first meant for plain notes, but today it is a working tool. Google, Microsoft, or another service asks you to add a TXT with a unique string to confirm the domain is yours - that is domain verification.

Its most important use is protecting email. An SPF record lists the servers allowed to send mail as you; DMARC says what to do with forgeries; DKIM holds the signing key. All three live in TXT records and directly affect whether your mail avoids the spam folder.

A single host can carry several TXT records at once. The key is not to mix them up and not to keep two different SPF records: the standard allows exactly one SPF, or the check breaks.

Example

example.com.  3600  IN  TXT  "v=spf1 include:_spf.google.com ~all"

Common mistakes

Related terms

Found problems?

Slow hosting, SSL trouble or frequent downtime? Move to TomisHost: fast hosting with free SSL, daily backups and free migration help.

TomisHost hosting