PREP WITH PROOF
Menu
FREE DNS LEARNING TOOL · NO SIGNUP

TXT record and SPF selection inspector

See the difference between multiple chunks in one TXT record and multiple SPF records at the same name.

Inspect TXT record boundaries

Outer array: records at one DNS owner name and class. Inner array: ordered, already-decoded text chunks of one record. Example: [["v=spf1 ", "-all"], ["verification=example"]]. Do not paste a zone file or dig output. Up to 32 records, 16 chunks per record, 255 printable ASCII characters per chunk.

Processing stays in this page. No DNS requests are sent and input is not saved by this tool. Use non-sensitive examples.

Selection summary

One SPF candidate — validate the policy next

2 unique TXT records · 1 SPF candidates. Identical repeated chunk arrays count once.

Chunks join without added spaces. Quotes below show JSON string boundaries.
RecordChunks in orderJoined textSPF candidateInput duplicate
1
1: "v=spf1 ip4:192.0.2.10 "
2: "ip4:198.51.100.20 -all"
"v=spf1 ip4:192.0.2.10 ip4:198.51.100.20 -all"
44 ASCII bytes
YesNo
2
1: "site-verification=example"
"site-verification=example"
25 ASCII bytes
NoNo

One candidate is not a pass. A missing space, invalid mechanism, excessive DNS lookups or an unauthorized sender may still make the policy fail.

How do I represent the DNS answer?

Use one inner array per TXT resource record, with its decoded text chunks in their original order. This tool accepts printable ASCII text only; DNS TXT can contain other bytes that this input format does not model. JSON quotes and escapes are input syntax, not extra bytes in the decoded chunk.

Why does a split record need a space?

Chunks concatenate without an inserted separator. In the reset example, the first chunk ends with a space. The missing-space example selects one SPF candidate but joins two mechanisms incorrectly. The table exposes the exact boundary; it does not repair it automatically.

What counts as an SPF candidate?

The joined text must start with v=spf1, ignoring ASCII case, followed by a space or the end of the record. Other TXT records remain separate. Exact repeated chunk arrays are duplicate input, not additional resource records. Different chunk layouts remain distinct records even if their joined text matches.

What should I verify next?

This tool checks supplied record selection only. It does not query DNS, parse complete SPF syntax, follow includes, calculate the lookup budget or authenticate a sender. Use the multiple SPF records troubleshooting guide to verify the actual envelope domain and send a new test message through each approved provider.

Record structure and selection rules: RFC 7208: TXT strings and SPF record selection.