Skip to content
ToolsLeb ToolsLeb

TXT Record Lookup

Look up all TXT records published for a domain, including SPF, DKIM, and verification records.

Enter a domain name

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 withWhat it isWhere it lives
v=spf1SPF: the list of servers allowed to send email for the domainThe domain itself
v=DMARC1DMARC: what receivers should do with mail that fails SPF/DKIM, and where to send reports_dmarc.yourdomain
v=DKIM1DKIM public key used to verify signed mailselector._domainkey.yourdomain
google-site-verification=, MS=, facebook-domain-verification=Proof of ownership for a serviceUsually 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:

  1. 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 several include: entries.
  2. DMARC: look up _dmarc.yourdomain.com. A record like v=DMARC1; p=none; rua=mailto:… means you're monitoring only; p=quarantine or p=reject means failing mail is actually blocked.
  3. DKIM: you need the selector your email provider uses (Google Workspace defaults to google; Microsoft 365 uses selector1 and selector2). Look up google._domainkey.yourdomain.com and you should see a long v=DKIM1; k=rsa; p=… key.

Common SPF problems this lookup reveals

  • Too many lookups. SPF allows at most 10 DNS lookups (every include:, a, mx and redirect counts). 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.

Frequently Asked Questions

TXT records store arbitrary text data attached to a domain — common uses include SPF and DKIM email authentication, domain ownership verification for services like Google or Microsoft, and other machine-readable domain metadata.

A domain can publish as many TXT records as needed — it's common to see separate entries for SPF, DKIM selectors, and verification codes for different third-party services all at once.

TXT records typically start with an identifiable prefix — SPF records begin with "v=spf1", DKIM selectors are found at a specific subdomain, and verification records often name the service (like "google-site-verification=").

Typically to diagnose email deliverability issues from a missing or misconfigured SPF/DKIM record, to verify a domain-ownership code was added correctly, or to audit what a domain publishes.