NewPlus, API and MCP are live — run 175 tools from your own stack.
100www

Tool 128 · N16 · DNS · Updated Nov 2026

TXT Record Lookup

Read a name's TXT records as published, separating SPF, verification and other text values from the noise.

Server Free No sign-up
API & MCP
100www.dev/tools/txt-record-lookup?d=github.com
Example:
Result

Run a lookup to see the records.

TXT records include SPF, site verification and other policy strings. Values are shown exactly as published.

What it does

TXT records hold arbitrary text attached to a DNS name. They carry SPF policies, DKIM keys, DMARC reports, site-verification strings and dozens of vendor tokens. This tool queries the name and shows each TXT record, reconstructed from its character-strings.

How it works

A single TXT record can contain multiple character-strings, each up to 255 bytes. Resolvers return them as separate quoted strings; applications must concatenate them in order without adding separators. This tool shows both the joined value and the raw split so a broken key is visible.

SPF lives in a TXT record starting with v=spf1 at the root. DMARC lives at _dmarc.example.com, not at the root. DKIM lives at selector._domainkey.example.com. A TXT lookup at the root will not show DKIM or DMARC records, which is a common source of confusion.

Verification tokens are opaque and case-sensitive. Copy them exactly, including padding characters, and do not wrap them across lines in a provider's UI. If a token fails, check for a trailing space, a smart quote or a second TXT record that shadows the expected value.

Very long values, such as 2048-bit DKIM keys, are frequently split by DNS providers. Some panels silently truncate at 255 characters, which produces a record that resolves but fails to validate. Comparing the raw strings against the intended value catches this.

TXT records are public. Never put credentials, API keys or internal hostnames in one, even temporarily. Search engines and certificate transparency–style archives can retain DNS data long after you remove it.

When to use it

  • Verify a site-verification token after adding it to a new provider.
  • Read the SPF policy at the root without guessing which record is authoritative.
  • Inspect a DKIM key for truncation or split-string mistakes.
  • Check for leftover verification records from services you no longer use.

Glossary

TXT
The DNS record type for arbitrary text values, stored as one or more character-strings.
Character-string
A length-prefixed chunk of up to 255 bytes inside one TXT record.
SPF
A TXT policy listing hosts allowed to send mail for a domain.
DKIM selector
The label under _domainkey that identifies which signing key is published.
Shadowing
When an unexpected duplicate record causes consumers to ignore or misread the intended value.

Frequently asked questions

Why is my DKIM record not showing at the root?+

DKIM is published at selector._domainkey.example.com, not at example.com. Query the selector name specifically. The same applies to DMARC, which lives at _dmarc.example.com.

Why is the value split into several quotes?+

TXT records larger than 255 bytes must use multiple character-strings. They are concatenated without spaces. If an application shows them with gaps, it is displaying the raw chunks rather than the joined value.

Can I have more than one TXT record at the same name?+

Yes, and each is separate. Consumers look for the one matching their expected prefix. Duplicate SPF or DMARC records are errors, while multiple verification tokens are usually fine.

Is there a size limit?+

Each character-string is limited to 255 bytes, and practical record sets are limited by UDP response size and provider policy. Keep values small and prefer CNAME delegation for large vendor records where supported.

Can I store secrets in TXT?+

No. DNS is public and widely archived. Use TXT only for values intended to be world-readable, and rotate anything that was accidentally published.

API & MCP

The same result envelope is available over REST and MCP. Replace the sample value with your own target.

GET
curl "https://100www.dev/api/v1/tools/txt-record-lookup?d=github.com"
REST API referenceAuth, quotas, error codes and the full envelope.
MCP serverAvailable over REST, but not exposed through MCP.

Shareable result

https://100www.dev/tools/txt-record-lookup?d=github.com

100www

100www engineering

Editorial

Reviewed by Steve · · Report an error

Tested from the 100www probe network; results vary by location and network.