What is an SPF record?
SPF (Sender Policy Framework) tells receiving mail servers which hosts may send email for your domain. A broken SPF record — duplicated, too many DNS lookups, or missing an 'all' mechanism — causes legitimate mail to land in spam. IPeek finds your SPF record, parses every mechanism and flags the issues that hurt deliverability.
How an SPF record works
SPF lives as a TXT record on your root domain, beginning with v=spf1. When a server receives mail claiming to be from you, it looks up that record and checks whether the sending IP is authorized. A record like v=spf1 include:_spf.google.com ip4:198.51.100.10 -all means "allow Google's hosts and this one IP, reject everything else." Mechanisms are evaluated left to right; the first match wins. The trailing all mechanism is the catch-all that decides the default outcome for any host not explicitly listed.
Hardfail, softfail, and the 10-lookup limit
The all mechanism sets your policy: -all is a hardfail (reject unlisted senders), ~all is a softfail (accept but mark suspicious), and +all allows anyone — never use it. SPF also caps DNS-querying mechanisms (include, a, mx, ptr, exists, redirect) at 10 total lookups; exceed it and the result is permerror, treated as a failure. Nested includes count too, so adding several vendors quietly burns through the budget. IPeek counts every lookup and warns before you hit the ceiling.
How SPF fits with DKIM and DMARC
SPF alone is not enough. It authenticates the envelope sender (the return-path), not the visible From address users see, so spoofers can pass SPF while forging your brand. DMARC closes that gap by requiring alignment between the SPF domain and the From domain, and by pairing SPF with DKIM so either can authenticate a message. Treat SPF as one of three layers: SPF authorizes hosts, DKIM signs content, and DMARC ties them to your From domain and enforces policy.