SPF Record Checker — Validate SPF Syntax and Lookup Count

Validate SPF syntax and lookup count for your domain.

SPF (Sender Policy Framework) is a TXT record that lists which servers are allowed to send email for your domain. Receiving servers check SPF to reduce spoofing and spam. This tool fetches the SPF TXT record for your domain, parses it, and validates syntax and semantics: mechanisms (include, a, mx, ip4, ip6), modifiers, and lookup count. SPF has a limit of 10 DNS lookups; too many includes or nested lookups can cause a permerror. Use the checker to fix "SPF too many lookups" or to ensure your new mail provider is included.

Frequently Asked Questions

What is the 10 lookup limit?

SPF evaluation must not exceed 10 DNS lookups (includes, a, mx, etc.). Exceeding causes a permerror and can hurt deliverability.

How do I add a new mail provider?

Add an include: directive (e.g. include:_spf.google.com) or an ip4/ip6 mechanism. Re-check with this tool after editing.

What does -all vs ~all mean?

-all is fail (reject non-matching); ~all is softfail (accept but mark); +all is allow all (not recommended).

Where do I put the SPF record?

In a TXT record on the root domain (e.g. example.com). Only one SPF TXT record is allowed.

Why does the checker say invalid?

Common causes: syntax error, too many lookups, or more than one SPF record. Fix and re-run.

More Dns Tools

Explore Other Tool Hubs