TXT Record Lookup
Look up all TXT records published for a domain, including SPF, DKIM, and verification records.
Share on Social Media:
The TXT Record Lookup shows every TXT record published for a hostname: SPF policies, DKIM keys, DMARC policies, and the verification codes that services like Google Search Console, Microsoft 365 and Facebook ask you to add. Enter a domain (example.com) or a specific record name (_dmarc.example.com, selector1._domainkey.example.com) and you'll see each record's value and TTL, straight from live DNS.
What you will usually find in TXT records
| Starts with | What it is | Where it lives |
|---|---|---|
v=spf1 | SPF: the list of servers allowed to send email for the domain | The domain itself |
v=DMARC1 | DMARC: what receivers should do with mail that fails SPF/DKIM, and where to send reports | _dmarc.yourdomain |
v=DKIM1 | DKIM public key used to verify signed mail | selector._domainkey.yourdomain |
google-site-verification=, MS=, facebook-domain-verification= | Proof of ownership for a service | Usually the domain itself |
A busy domain can have a dozen or more TXT records. That's normal, because each service you verify adds its own.
Checking your email authentication
Since 2024, Gmail and Yahoo require bulk senders to have SPF, DKIM and a DMARC policy, and smaller senders without them are increasingly sent to spam. You can check all three here:
- SPF: look up your root domain and find the record starting with
v=spf1. There must be exactly one. Two separate SPF records make SPF fail outright, and it's a common mistake when a second email provider is added. Merge them into one record with severalinclude:entries. - DMARC: look up
_dmarc.yourdomain.com. A record likev=DMARC1; p=none; rua=mailto:…means you're monitoring only;p=quarantineorp=rejectmeans failing mail is actually blocked. - DKIM: you need the selector your email provider uses (Google Workspace defaults to
google; Microsoft 365 usesselector1andselector2). Look upgoogle._domainkey.yourdomain.comand you should see a longv=DKIM1; k=rsa; p=…key.
Common SPF problems this lookup reveals
- Too many lookups. SPF allows at most 10 DNS lookups (every
include:,a,mxandredirectcounts). Long chains of includes from several providers can push you over, and receivers then treat SPF as a permanent error. - Ending in
+all. This tells the world that any server may send as you, which defeats the purpose. Use~all(soft fail) or-all(fail). - Forgotten senders. If your invoices go out through an accounting tool or your newsletters through a marketing platform, those services need to be in SPF or signing with DKIM, or their mail will fail DMARC.
Verifying a new record
If a service says it can't find your verification code, look up the exact name it asked you to use. A quoted value split into several strings is normal for long records like DKIM keys, because DNS limits each string to 255 characters and resolvers join them back together. If the record doesn't appear at all, check you didn't add it to a subdomain by accident (see the host-field tip on our CNAME Lookup page) and allow time for the TTL of any older value to expire.
Lookups run against public DNS at the moment you click. TXT records are public by design, so this tool shows only what any mail server or verification service can already see.