Skip to content
dnscheck.app

TXT record lookup

Show every TXT record for a name, as published by its nameservers and as cached by Cloudflare.

What TXT records are used for

TXT records hold text that other systems read:

  • SPF: v=spf1 include:_spf.google.com ~all lists who may send mail for the domain. Check it with the SPF checker.
  • DMARC: at _dmarc.example.com, the policy for failing mail. See the DMARC checker.
  • DKIM: at selector._domainkey.example.com, a public signing key. See the DKIM checker.
  • Verification: strings such as google-site-verification=… prove to a service that you control the domain.
  • MTA-STS and TLS-RPT: at _mta-sts and _smtp._tls, mail transport security policies.

Common problems

  • Two SPF records. Receivers treat that as a permanent error. Merge them into one.
  • Quotes inside the value. Some DNS panels add quotes automatically. If you typed them as well, the record may contain literal quote characters.
  • The record is on the wrong name. A DMARC record on the bare domain does nothing; it must be at _dmarc.

Questions

How do I look up a DMARC or DKIM record?

Enter the full name: _dmarc.example.com for DMARC, or selector._domainkey.example.com for a DKIM key. Or use the DMARC and DKIM checkers, which also validate the record.

Why is my long TXT record split into pieces?

A single string in a TXT record holds at most 255 characters, so long values (such as 2048-bit DKIM keys) are stored as several strings. Receivers join them without spaces. We show them already joined.

Can I have more than one TXT record?

Yes, a name can have many TXT records. But there must be only one SPF record (starting v=spf1) and one DMARC record.

Related tools

  • SPF

    Syntax, the include tree, and the 10-lookup limit.

  • DMARC

    Policy, alignment, report addresses and syntax.

  • DNS lookup

    Any record type, from a resolver and from the domain's own nameservers.