All terms
Glossary · SPF details
SPF 10 DNS lookup limit
An SPF evaluation may involve at most 10 terms that cause DNS lookups; beyond that the result is permerror and SPF does not work at all (RFC 7208 §4.6.4).
By: Kemal Özleyen, Cybersecurity Engineer · Check Point Workspace Security Expert · Kinetik Bilişim
How it works
The include, a, mx, ptr and exists mechanisms and the redirect modifier count; ip4, ip6, all and exp do not. Terms inside records pulled in by include count as well.
In addition, each mx mechanism may lead to at most 10 address lookups, and lookups that come back empty should be limited to two (RFC 7208 §4.6.4).
Guide The SPF 10 DNS lookup limit
Related SPF include · SPF permerror · SPF void lookup · SPF flattening
Source RFC 7208 §4.6.4
Last updated: