SPF Lookup Counter
Count the DNS lookups your SPF record costs, see the include tree that causes them, and find out how close you are to the limit that breaks it.
“I made every single deliverability tool our agency GTMEs deploy to get 5%+ avg reply rate public and free.”
Huz
Why ten
SPF is evaluated by the receiver at delivery time, and every include, a, mx, ptr, exists and redirect in the chain costs a DNS query. RFC 7208 caps that at ten so a single message cannot make a receiver do unbounded work. Past ten the result is a permerror, not a soft failure.
The nasty part is that the count is not yours alone. An include points at a record someone else controls, and when they add a sender on their side your count goes up without your record changing. A domain that was fine for a year can break overnight, and nothing in your DNS will look different.
What a permerror costs
On its own, a failed SPF is survivable if DKIM passes and aligns. With a DMARC policy of quarantine or reject and no aligned DKIM signature, it is the whole message. That is why this is worth checking before a send rather than after a quiet week.
To audit the record itself rather than just its cost, use the SPF checker; to see whether DKIM would carry the message when SPF fails, the DKIM checker; and for all of it at once, the email authentication checker.