TXT Record Lookup
See every TXT value published at a domain or subdomain, such as SPF, DMARC, DKIM and site verification codes.
Jump to toolWhat 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
- Enter the domain or subdomain that should hold the record, such as example.com or _dmarc.example.com.
- Select Lookup TXT Records.
- Look through the values for the one you need, such as the entry starting v=spf1 or a verification token.
- 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 value | Where it lives and what it starts with |
|---|---|
| SPF | On the domain itself, starting v=spf1 |
| DMARC | On _dmarc.example.com, starting v=DMARC1 |
| DKIM | On selector._domainkey.example.com, usually starting v=DKIM1 |
| Site verification | On the domain, for example google-site-verification= or MS=ms12345678 |
| Other policies | Such 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.
References
TXT Record Lookup FAQ
Check your email authentication in one go
Test SPF, DKIM and DMARC together and see what each record means.
Related Tools
Tools that often come next after this one