SPF Validator

Validate SPF records according to RFC 7208. Expands all include lookups and checks DNS lookup count (max 10 allowed).

SPF Record Lookup

SPF Mechanism Reference (RFC 7208)
MechanismDescription
allMatches all addresses (usually at end with - or ~)
includeInclude SPF record from another domain (counts as lookup)
aMatch if IP matches A/AAAA record (counts as lookup)
mxMatch if IP matches MX record (counts as lookup)
ip4Match IPv4 address or CIDR range
ip6Match IPv6 address or CIDR range
ptrReverse DNS lookup (deprecated, counts as lookup)
existsCheck if domain has A record (counts as lookup)
redirectUse SPF record from another domain instead
expExplanation string for failures

Qualifiers

SymbolResultMeaning
+PassIP is authorized (default if omitted)
-FailIP is not authorized, reject
~SoftFailIP is not authorized, but accept
?NeutralNo policy statement