SPF finding

Too many SPF lookups

Evaluating the record costs more than the ten DNS lookups the specification allows, so it fails permanently.

Finding code

spf_too_many_lookups

This finding appears in the findings array of the spam checker and the POST /v1/sender API response when the condition above is detected.

How to fix it

The fix.

Flatten includes or use ip4/ip6 mechanisms where possible. Each include, a, mx, ptr, and exists mechanism costs one DNS lookup against the limit of ten.

Related SPF findings

Other things we check.

Finding What it means
spf_missing No SPF record
spf_multiple_records Multiple SPF records
spf_syntax_error SPF syntax error
spf_no_all_mechanism No all mechanism in SPF
spf_passes_everyone SPF passes every server
spf_neutral_all SPF neutral all
spf_soft_fail SPF soft fail
spf_deprecated_ptr Deprecated ptr in SPF