Glossary

TXT record

A DNS record that holds text, used for domain verification and email security.

In plain English A domain setting that holds a line of text. Services use it to check you own the domain, and email uses it for SPF, DKIM and DMARC.

A TXT record holds text in DNSDNS The internet’s phone book. It turns a name people can remember, like example.com, into the number address computers use to find the server. More about DNS →. Originally meant for human-readable notes, it is now how services check you own a domain and how email security is published. A domain can have many TXT records on the same name.

What they are used for

UseNameExample value
SPF@v=spf1 include:_spf.google.com -all
DKIMselector._domainkeyv=DKIM1; k=rsa; p=MIIB...
DMARC_dmarcv=DMARC1; p=quarantine; rua=mailto:...
Domain verification@ or a given namegoogle-site-verification=abc123
Certificate validation_acme-challengeA token from the certificate authority

Long values

A single string in a TXT record can hold at most 255 characters. Longer values, such as 2048-bit DKIMDKIM A digital signature added to every email you send, so the receiving side can check it really came from your domain and was not changed. More about DKIM → keys, are split into several quoted strings in one record, which are joined together when read. Most DNS panels do this automatically when you paste a long value; some need you to add the quotes yourself.

Check them

dig example.com TXT +short
dig _dmarc.example.com TXT +short

Mistakes to avoid

  • Two separate SPFSPF A list you publish saying which services are allowed to send email for your domain. Mail from anywhere else looks suspicious. More about SPF → TXT records on the same name. Merge them into one.
  • Deleting verification records you no longer recognise. Some services re-check them and lose access when they vanish.
  • Extra quotation marks pasted into a panel that adds its own, which end up as part of the value.