TXT Record Lookup – SPF, DKIM & DNS Text Records
Read TXT records for email authentication and domain verification.
Introduction
TXT records are the Swiss Army knife of DNS text storage: they hold SPF policies, DKIM public keys, DMARC reports configuration, and one-line proofs that you control a domain for external services.
Unlike address records, TXT content is opaque to browsers but critical to mail receivers and verification bots that fetch DNS on a schedule.
This TXT record lookup on VSPIC surfaces every published string at the names you query, helping you close the gap between what you think you published and what the world actually sees.
How to use this txt record lookup tool
- Enter a domain or specific DNS name (for example example.com or _dmarc.example.com).
- Click Lookup TXT Records to query authoritative DNS.
- The tool returns TXT answers only, displayed in a host/value/TTL table.
- Scan values for v=spf1, DKIM selectors, v=DMARC1, or vendor verification tokens.
- Copy long strings with the inline copy button for diffing or ticket attachments.
- Use SPF DKIM DMARC Checker for parsed validation after reviewing raw TXT here.
What Is TXT Record
A TXT record stores one or more character strings at a DNS name. There is no fixed schema — meaning comes from conventions like v=spf1 for mail or vendor-specific verification prefixes.
Authoritative servers return TXT as type 16 in DNS. Resolvers present the strings to clients that enforce policy (MTAs, crawlers, certificate authorities).
TXT coexists with other record types on different names, but standard zones forbid TXT on the same name as a CNAME alias.
SPF Explained
Sender Policy Framework (SPF) publishes which hosts may send mail claiming your domain in the envelope From. It appears as TXT starting with v=spf1 followed by mechanisms like include, ip4, and all.
Receivers compare the sending IP against SPF mechanisms. A fail or softfail can affect placement in inbox versus spam folders depending on other signals.
SPF has a lookup limit — too many include chains break evaluation. Keep policies concise and test after every change.
DKIM Explained
DomainKeys Identified Mail (DKIM) signs messages cryptographically. The verifying side fetches a public key from a TXT record at selector._domainkey.domain.
Each sending platform chooses a selector string. Without knowing the selector, you may miss the DKIM TXT — check provider docs or send a signed test message and inspect headers.
Rotating DKIM keys means publishing new TXT at a new selector before retiring the old key.
DMARC Explained
DMARC tells receivers how to handle mail that fails SPF or DKIM alignment, and where to send aggregate reports. It lives in TXT at _dmarc.domain with v=DMARC1.
Policies range from none (monitor) through quarantine to reject. Tightening policy without aligned SPF and DKIM can block legitimate mail.
Report addresses (rua, ruf) in the DMARC TXT enable visibility into authentication failures.
Domain Verification Records
Search consoles, certificate authorities, and SaaS onboarding often ask you to add a unique TXT string at the apex or a _verification subdomain.
Verification succeeds only when the exact token is visible publicly. Partial matches, wrong names, or trailing spaces cause frustrating false negatives.
After adding verification TXT, use this lookup to confirm propagation before clicking verify in the vendor UI.
How To Use
- Enter the domain or precise hostname (_dmarc, selector._domainkey, etc.).
- Click Lookup TXT Records.
- Review every Value string — multiple TXT answers are common.
- Identify v=spf1, DKIM key material, v=DMARC1, or vendor tokens.
- Copy values for diffing against provider wizards.
- Re-query after TTL if verification still fails.
Examples
| Name | Typical TXT content |
|---|---|
| example.com | v=spf1 include:... -all |
| _dmarc.example.com | v=DMARC1; p=none; rua=mailto:... |
| s1._domainkey.example.com | v=DKIM1; k=rsa; p=... |
| example.com | google-site-verification=... |
| _github-challenge.example.com | challenge token string |
Benefits
- Full TXT strings without truncation
- Host-level clarity for apex and underscore names
- TTL visible for propagation planning
- Foundation for email auth troubleshooting
- Pairs with dedicated SPF/DKIM/DMARC checker
- Free browser access for vendors and IT staff
Troubleshooting
SPF permerror or too many lookups
- Flatten includes or remove unused mechanisms.
- Avoid nested include chains beyond DNS limits.
DKIM not found
- Query the correct selector._domainkey name.
- Confirm key published on the zone currently authoritative.
Verification token missing
- Check exact hostname required by vendor.
- Wait for TTL after publish; typos break match.
Best Practices
- Document SPF includes whenever adding a new sender
- Stage DMARC at p=none before moving to quarantine or reject
- Rotate DKIM with overlapping selectors during key changes
- Remove obsolete verification TXT to keep zones tidy
- Audit TXT quarterly alongside MX changes
- Use both raw TXT lookup and parsed checker tools
Related Tools
Disclaimer
TXT strings are informational. Mail receivers apply their own policies; correct DNS does not alone guarantee inbox placement.
txt record lookup — frequently asked questions
It queries DNS for TXT records and shows the text strings published at a hostname, with TTL metadata.
Email authentication (SPF, DKIM, DMARC), domain verification, site ownership proofs, and various security policies.
SPF is published as a TXT record at the domain apex (and sometimes subdomains) starting with v=spf1.
DKIM public keys appear in TXT records at selector._domainkey.example.com. The selector name varies by provider.
DMARC policies are TXT records at _dmarc.example.com beginning with v=DMARC1.
Yes. Resolvers may return several strings; some platforms merge them. Review every value returned.
Typos, wrong hostname, quotes, or stale cache cause failures. Confirm exact token, name, and TTL expiry.
DNS limits apply per string; long DKIM keys may split across multiple strings that clients concatenate.
TXT is not used for HTTP routing. It affects mail authentication and third-party verification workflows.
This tool shows raw TXT strings. The dedicated checker parses and validates common email auth formats.
DMARC lives at _dmarc.yourdomain — enter that full name or use the checker tool for guided queries.
TTL controls cache lifetime. After edits, wait for TTL or flush local resolver cache before retesting.
Yes. VSPIC offers TXT lookups without signup.
DKIM public keys and verification tokens are meant to be public in DNS. Never publish private secrets in TXT.
During email migrations, after adding SaaS integrations, when deliverability drops, and before security reviews.
Next step for txt record lookup
Continue with spf dkim dmarc checker on VSPIC.
Related Tools
Explore more free VSPIC tools for IP, DNS, security, and network diagnostics.
SPF DKIM DMARC Checker
Validate email authentication DNS records for any domain
Use Free →MX Record Lookup
Find mail server MX records and priorities for a domain
Use Free →DNS Lookup
Free DNS lookup tool and DNS checker — query A, AAAA, MX, TXT, NS, CNAME, and SOA records for any domain.
Use Free →Email Header Analyzer
Parse email headers to trace sender route and authentication
Use Free →NS Lookup
Query authoritative nameserver NS records for a domain
Use Free →WHOIS Lookup
Retrieve domain and IP registration WHOIS records
Use Free →
Trusted by Users Who Value Privacy
Always Free
No premium plan ever
100% Private
Files processed in browser
Instant Results
Convert in seconds
Works Everywhere
Any device, any OS