TXT Lookup

View every TXT record published by a domain, including the SPF policy and site-verification tokens.

ctrl + enter

About this tool

TXT records carry most of the policy data attached to a domain. This lookup returns all of them at once so you can verify an SPF record, confirm that a verification token for a third-party service was added correctly, or audit what a domain reveals about the services it uses.

For a syntax check of SPF and DMARC with a spoofing verdict, run the Email Spoof Check.

This is what a result looks like (trimmed):

$ dig example.com TXT

;; ANSWER SECTION:
example.com.  86400  IN  TXT  "v=spf1 -all"
example.com.  86400  IN  TXT  "_k2n1y4vw3qtb4skdx9e7dxt97qrmmq9"

How to use it — quick steps

  1. 01

    Enter the domain or hostname

    Type or paste the domain or hostname in the field above, for example example.com. Use Ctrl + V to paste.

  2. 02

    Press "Lookup TXT records"

    Press "Lookup TXT records" or Ctrl + Enter. The result appears below in a few seconds. Results can be copied.

  3. 03

    Read the result

    It appears in the dark panel under the form in a few seconds. Every block has [copy] and other actions.


Key features of this tool

  • Live answer

    The query is sent to a public resolver from our servers, so you see the records the world sees, not a cached copy from your ISP.

  • Parsed and raw

    Records are listed in a clean table and the full dig output is available below it, with an option to copy all to clipboard.

  • TTL included

    Each record shows its time-to-live (TTL), so you know how long DNS caches may keep the old value before refreshing it.


Frequently asked questions

What are TXT records used for?

Originally free text, today mostly machine-readable policies: SPF (v=spf1 …), domain verification for Google, Microsoft, Facebook and others, DMARC and DKIM (on sub-names) and various service tokens.

Why is my SPF record split in quotes?

A TXT record is made of 255-byte strings; longer records are split into several quoted strings that receivers concatenate. That is normal.

DMARC or DKIM do not show up

They live on sub-names: _dmarc.example.com and selector._domainkey.example.com. Use the DMARC Lookup for the former and query the selector name with DiG for the latter.


Popular tools


From APIVoid, the team behind IPVoid

Enhance your threat detection capabilities

APIVoid provides threat intelligence APIs to automate security workflows, with simple pricing and a 30-day free trial to start, no card required.

What you get with APIVoid

  • IP reputation and blacklist checks
  • Domain and URL reputation scoring
  • DNS lookups and propagation
  • SSL certificate and TLS details
  • Website screenshots and page info
  • Email address verification
  • 30+ cybersecurity APIs
30-day free trial