SPF Record Lookup
Look up a domain's SPF TXT record and check syntax.
SPF (Sender Policy Framework) is a standard that uses a DNS TXT record to declare which mail servers are allowed to send email for your domain. This tool looks up a domain's SPF record in real time, shows the raw value, and breaks down each mechanism — include, ip4, ip6, a, mx, redirect and all — so you can see at a glance which senders are authorized and how the final all policy is set.
A missing or misconfigured SPF record lets legitimate mail land in spam, or makes it easier for someone to spoof your domain. In particular, having more than one SPF record is a standards violation that can fail validation outright, so this tool flags that case with a warning. Just enter a domain — no protocol or path needed.
SPF mechanisms at a glance
- ip4 / ip6: an IPv4/IPv6 address or range (CIDR) allowed to send
- a / mx: authorize the domain's A record or MX servers as senders
- include: pull in another domain's SPF policy (e.g. an email SaaS)
- redirect: delegate SPF evaluation to another domain
- all: the policy for any sender not matched above
The all policy is what matters
SPF usually ends with all, and the qualifier in front of it decides the policy. -all (hard fail) tells receivers to reject unauthorized senders, while ~all (soft fail) is a lenient policy that lets suspicious mail through but marks it. ?all (neutral) and +all (pass all) offer essentially no protection and are not recommended. Once operations are stable, tightening from ~all to -all is a good move.
Things to watch out for
SPF allows at most 10 DNS lookups in total (include, a, mx, redirect, etc.); exceeding this causes a permerror that invalidates SPF. Avoid deeply nesting too many includes — see how many lookups you currently use with SPF Lookup Counter. Also, a domain must have exactly one SPF record — combine multiple sending services into a single SPF using include rather than adding separate records. SPF works best alongside DKIM (DKIM Record Lookup) and DMARC (DMARC Record Lookup); to assess all three at once, use Email Deliverability Check.