TXT Record Lookup

See a domain's TXT records and what each one is for.
More Tools

A TXT record holds text that a domain publishes in DNS. Most are for email (SPF, DMARC, DKIM) or prove domain ownership to services like Google Search Console and Microsoft 365.

What Is a TXT Record?

A TXT record is free text attached to a name in DNS; services read it to check settings or ownership.

TXT records for SPF, DMARC, DKIM and site verification, and the DNS names where each one lives.
The first characters of a TXT record tell you what it's for.

One name can hold many TXT records, and each record is one or more strings of up to 255 characters. Long values such as 2048-bit DKIM keys must be split into several strings; receivers join them back together with nothing in between. The result above shows the joined value, and the strings as published when there are several.

Records don't all live on the domain itself: DMARC is on _dmarc.example.com, DKIM keys on selector._domainkey.example.com, MTA-STS on _mta-sts.example.com. This page checks those names for you.

What Each TXT Record Means

The start of the value tells you what it's for: v=spf1 is SPF, google-site-verification= is Google.

Value starts withWhat it isWhere
v=spf1SPF: the servers allowed to send email for the domain. Validate itdomain
v=DMARC1DMARC: what receivers do with mail that fails SPF and DKIM_dmarc
v=DKIM1DKIM public key that checks email signaturesselector._domainkey
v=STSv1MTA-STS: senders must use encrypted connections to your mail servers_mta-sts
v=TLSRPTv1TLS-RPT: where to send reports about failed encrypted deliveries_smtp._tls
v=BIMI1BIMI: brand logo shown next to your emails in some inboxes (check BIMI)default._bimi
google-site-verification=Proves ownership to Google (Search Console, Google Workspace)domain
MS=ms…Microsoft 365 domain verificationdomain
facebook-domain-verification=Meta (Facebook, Instagram) domain verificationdomain
apple-domain-verification=Apple (Business Manager, iCloud custom domain)domain
docusign= · stripe-verification= · atlassian-domain-verification=Ownership checks for DocuSign, Stripe, Atlassian and many other servicesdomain

The lookup labels more than 35 of these verification codes. A record without a label is custom text: ask whoever manages the domain before you delete it. Keep verification records after setup, since many services check them again later.

DMARC TXT Record

DMARC lives at _dmarc.example.com and tells receivers what to do when SPF and DKIM fail: p=none, quarantine or reject.

How SPF, DKIM and DMARC work together to decide whether an email is accepted.
SPF checks the server, DKIM checks the signature, DMARC checks they match the From address and decides.
v=DMARC1; p=quarantine; rua=mailto:[email protected]
TagMeaning
p=Policy: none (monitor only), quarantine (spam folder), reject (refuse)
sp= · np=Policy for subdomains, and for subdomains that don't exist (np, new in RFC 9989)
rua=Where daily aggregate reports go. An address on another domain only works if that domain authorizes yours; the lookup checks it
ruf=Failure reports; few receivers send them
adkim= · aspf=Alignment: r relaxed (subdomains match, default) or s strict
t=yTest mode (RFC 9989): receivers apply one step less, reject acts like quarantine and quarantine like none
pct= · rf= · ri=Historic since RFC 9989; receivers may ignore them

DMARC became a standard in May 2026: RFC 9989 replaced RFC 7489. A valid old record stays valid. The main change for lookups is the DNS tree walk: when a name has no DMARC record, receivers look at parent names, at most 8 queries, and use the first record they find. This page does the same and tells you where the policy came from.

Gmail and Yahoo have required DMARC (at least p=none) from senders of more than 5,000 messages a day since February 2024, and Outlook.com since May 2025. p=none meets that rule but stops nothing: move to quarantine, then reject, once the reports show that all your real senders pass.

DKIM TXT Record

DKIM keys live at selector._domainkey.example.com. You need the selector, which is in the s= tag of an email's DKIM-Signature header.

DNS can't list the names under _domainkey, so no tool can find every DKIM key of a domain. Open the headers of a message from the domain (the email header analyzer shows them), find DKIM-Signature: … d=example.com; s=google;, and enter the s= value above. Or try the common selectors:

ServiceUsual selectors
Google Workspacegoogle (the default prefix in the Admin console)
Microsoft 365selector1, selector2 (CNAMEs to Microsoft's keys)
Mailchimpk1, k2, k3
SendGrids1, s2
Proton Mail · Fastmailprotonmail, protonmail2, protonmail3 · fm1, fm2, fm3

The check shows the key type and length. Use 2048-bit RSA keys: 1024-bit keys still work but are weak, and receivers reject keys under 1024 bits (RFC 8301). An empty p= means the key was revoked on purpose. Ed25519 keys (RFC 8463) are shorter but not checked by every receiver, so publish them next to an RSA key, not instead of it.

How to Add a TXT Record for Domain Verification

Copy the value from the service, add a TXT record at the root (@) in your DNS provider, then check it here.

  1. Copy the full value from the service (for example google-site-verification=…).
  2. In your DNS provider, add a record: type TXT, host @ (or leave it empty), value = what you copied. Keep the other TXT records.
  3. Save, then look up the domain above with Authoritative DNS: it shows what your provider publishes, without cache.
  4. Click verify in the service. If it fails, wait for the TTL shown above (often 1 hour) and try again.
DNS providerWhere to add the TXT record
GoDaddyDomain Portfolio > select the domain > DNS > Add New Record > type TXT. Name @, Value, then Save
CloudflareSelect the domain > DNS > Records > Add record > type TXT. Name @, Content, then Save
NamecheapDomain List > Manage > Advanced DNS > Add New Record > TXT Record. Host @, Value, then Save all changes
Squarespace (and former Google Domains)Domains > select the domain > DNS > Custom records > Add record > type TXT. Name (Host) @, Data
Amazon Route 53Hosted zones > select the zone > Create record > type TXT. Leave the name empty for the root; put the value in double quotes

Your domain's DNS may be hosted somewhere else than where you bought it: the NS lookup shows which company runs it, and that is where the record goes.

Common mistakes: the host field set to the full domain (the panel adds it, giving example.com.example.com), quotes added around the value when the panel doesn't expect them (check your provider's help: Route 53 requires them, Cloudflare adds them itself), and a second SPF record created instead of editing the first.

Do it yourself

How to Check TXT Records with nslookup or dig

nslookup -type=txt example.com or dig example.com txt +short.

Windows Command Prompt

nslookup -type=txt example.com
nslookup -type=txt _dmarc.example.com
nslookup -type=txt google._domainkey.example.com

Windows PowerShell

Resolve-DnsName example.com -Type TXT
Resolve-DnsName _dmarc.example.com -Type TXT -Server 1.1.1.1

Mac / Linux dig

dig +short example.com txt
dig +short _dmarc.example.com txt
dig +short selector1._domainkey.example.com txt

dig prints each string in its own quotes: a DKIM key often appears as two or more quoted parts, which is normal. Add @1.1.1.1 to ask a specific resolver.

How This TXT Lookup Works

QueryLive DNS query (no cache) to the server you pick: Google, Cloudflare, Quad9, OpenDNS, DNS4EU, AdGuard, Control D, Yandex, or the domain's own authoritative servers; or all of them with "Compare"
ValuesShown exactly as receivers read them: strings joined with nothing in between, and the separate strings listed when there are several
LabelsFrom the start of each value (SPF, DMARC, DKIM, MTA-STS, BIMI and 35+ verification codes); no match, no label
DMARCQueried automatically with the RFC 9989 tree walk (max 8 queries); external report addresses checked (RFC 9990)
DKIMOnly with a selector, or the list of common selectors on request: DKIM keys can't be listed from DNS
Also checked_mta-sts, _smtp._tls (TLS-RPT) and default._bimi. The MTA-STS policy file itself is not downloaded
Runs onOur server in the US (AWS, N. Virginia)
What we keepLookups are not saved. Our server and Cloudflare keep standard access logs.

Frequently Asked Questions

How do I look up TXT records?
Type the domain above and click Lookup. You'll see every TXT record with a label saying what it's for, plus the domain's DMARC record, MTA-STS, TLS-RPT and BIMI records, and a DKIM check by selector. In a terminal, run nslookup -type=txt example.com or dig example.com txt +short.
What is a TXT record used for?
Mostly email authentication (SPF, DMARC, DKIM) and proving domain ownership to services such as Google Search Console, Microsoft 365, Meta or Apple. The start of the value tells you which: v=spf1 is SPF, google-site-verification= is Google.
Why doesn't my new TXT record show up?
Resolvers keep the old answer until its TTL runs out. Choose Authoritative DNS above to see what your DNS provider publishes right now. If the record is missing there too, check the host field: many DNS panels add the domain for you, so typing example.com creates example.com.example.com. To watch the new value reach resolvers around the world, use the DNS propagation checker.
How do I find a domain's DKIM record?
You need its selector: the s= value in the DKIM-Signature header of an email from the domain. Enter it in the DKIM selector field after a lookup; the key is at selector._domainkey.domain. If you don't know it, click "Try common selectors": we check the defaults of Google Workspace, Microsoft 365, Mailchimp and other services.
Where is the DMARC record?
At _dmarc. plus the domain, for example _dmarc.example.com. A subdomain without its own record uses its parent's policy. This page finds and decodes it automatically.
Can a domain have several TXT records?
Yes, as many as needed on the same name. Only SPF and DMARC are limited to one record each (v=spf1 on the domain, v=DMARC1 on _dmarc); two of either and receivers ignore them.

Next steps

Related Tools

SPF Record Checker
Validate SPF: include tree, 10-lookup count, IP test.
MX Lookup
The servers that receive a domain's email.
Email Header Analyzer
Find the DKIM selector and the SPF/DKIM/DMARC results of a real message.
DNS Lookup
All the DNS records of a domain.