VLANlab
Ctrl+Dto bookmark this tool
Ctrl+Kto search tools

SPF Record Analyzer

Resolve and analyze the SPF record for any domain - including recursive include chains, DNS lookup counting, and policy violation detection.

WarningSPF record has issues that weaken protection.
DNS lookups:3 / 10
SPF Record

v=spf1 a:www939.sakura.ne.jp a:www2278.sakura.ne.jp mx ~all

Violations (1)

warn`~all` is a soft fail; unauthorized mail may still be accepted by some servers
Upgrade to `-all` after confirming all legitimate senders are listed.

Mechanisms (4)

QTypeValueLookup #
+awww939.sakura.ne.jp#1
+awww2278.sakura.ne.jp#2
+mx#3
~all(catch-all)-

Related Tools

SPF Record Builder

Build a valid SPF TXT record. Select mail providers, add IP ranges, and track DNS lookup usage.

DMARC Generator

Build a valid DMARC TXT record with a visual policy wizard. No signup required.

Email Inspector

Validate email addresses and grade domain security - SPF, DMARC, DKIM, MX.

About this tool

SPF (Sender Policy Framework) is a DNS TXT record that lists which servers are authorized to send email on behalf of a domain. Receiving mail servers check this record against the sender's IP - if the IP isn't listed, the email can be rejected or flagged as spam.

The most critical part of the SPF record is the catch-all mechanism at the end: -all (hard fail, reject unlisted senders), ~all (soft fail, mark but accept), ?all (neutral, no effect), or +all (pass all senders - effectively disables SPF). For strong spam protection, always end with -all.

RFC 7208 limits SPF evaluation to 10 DNS lookups. The include:, a, mx, ptr, exists, and redirect= mechanisms each count as one lookup. Going over the limit causes a PermError, which means receiving servers will treat the email as if SPF failed - even though the sending IP might be legitimately authorized.

SPF alone is not enough. For full email authentication, combine SPF with DKIM signing and a DMARC policy. Without DMARC, a passing SPF check can still be bypassed using the display name while sending from a different domain.