DNS Tools

TXT Record Lookup

See every TXT value published at a domain or subdomain, such as SPF, DMARC, DKIM and site verification codes.

Jump to tool
Try:

What Is a TXT Record?

A TXT record stores free-form text in a domain's DNS. It is mostly used for machine-readable values: SPF and DMARC email policies, DKIM public keys, and verification tokens that services such as Google Search Console ask you to publish to prove you control a domain.

This tool retrieves every TXT value published at the name you enter, so you can check that a policy or verification token is present and spelled exactly as the service expects.

How to Check a Domain's TXT Records

  1. Enter the domain or subdomain that should hold the record, such as example.com or _dmarc.example.com.
  2. Select Lookup TXT Records.
  3. Look through the values for the one you need, such as the entry starting v=spf1 or a verification token.
  4. Copy the value and compare it character by character with what your provider expects.

What TXT Records Are Used For

Most TXT records are machine-readable settings. You can tell them apart by where they live and how they start:

Type of valueWhere it lives and what it starts with
SPFOn the domain itself, starting v=spf1
DMARCOn _dmarc.example.com, starting v=DMARC1
DKIMOn selector._domainkey.example.com, usually starting v=DKIM1
Site verificationOn the domain, for example google-site-verification= or MS=ms12345678
Other policiesSuch as MTA-STS on _mta-sts.example.com or BIMI on default._bimi.example.com

Reading the Result

Each TXT value is listed separately, exactly as published, with its TTL and a copy button so you can compare it character by character.

Long values such as DKIM keys may be split into several quoted strings; servers join them back together.

Common TXT Record Mistakes

Two SPF records

  • A domain may only have one record starting v=spf1. Merge them into a single record.

DMARC on the wrong name

  • DMARC must sit on _dmarc.example.com, not on the bare domain.

Verification fails

  • Check for missing characters or extra quotes, and that you added it at the exact name the service asked for.

Record not found after adding it

  • Wait for the TTL of any cached negative answer to expire, then check again.

Keeping TXT Records Tidy

  • Remove verification codes for services you no longer use.
  • Keep one SPF record per domain and stay within its limit of 10 DNS lookups.
  • Note what each record is for in your DNS provider, if it lets you add comments.

TXT Record Lookup FAQ

Check your email authentication in one go

Test SPF, DKIM and DMARC together and see what each record means.

SPF, DKIM & DMARC Checker