All terms
Glossary · SPF details
SPF include
include is the mechanism by which an SPF record brings another domain’s SPF record into the evaluation; if that record returns pass, the include matches (RFC 7208 §5.2).
By: Kemal Özleyen, Cybersecurity Engineer · Check Point Workspace Security Expert · Kinetik Bilişim
How it works
Services such as mail platforms or newsletter tools publish their sending servers in their own SPF records; the customer adds include:<provider domain> to its own record. When the provider changes its record, your list of authorised senders changes too.
Despite its name, include does not adopt the other record’s result: if that record returns fail, softfail or neutral, the include simply does not match and evaluation continues with the next term. If the included domain has no SPF record, the result is permerror (RFC 7208 §5.2).
Every include is a DNS lookup, and the includes inside it count as well; the 10-lookup limit applies to the whole chain (RFC 7208 §4.6.4).
Example record
ornek.com.tr. TXT "v=spf1 include:spf.protection.outlook.com include:_spf.bulten-hizmeti.example -all"
Guide The SPF 10 DNS lookup limit
Related SPF 10 DNS lookup limit · SPF · SPF flattening
Source RFC 7208 §5.2 · RFC 7208 §4.6.4
Last updated: