How many SPF lookups does include:spf.protection.outlook.com use?
1. One for the include itself, plus 0 inside Microsoft 365's record (spf.protection.outlook.com).
That leaves 9 of the 10 lookups SPF allows for everything else in your record (RFC 7208, section 4.6.4).
Where the lookups come from
v=spf1 ip4:40.92.0.0/15 ip4:40.107.0.0/16 ip4:52.100.0.0/15 ip4:52.102.0.0/16 ip4:52.103.0.0/17 ip4:104.47.0.0/17 ip6:2a01:111:f400::/48 ip6:2a01:111:f403::/49 ip6:2a01:111:f403:8000::/51 ip6:2a01:111:f403:c000::/51 ip6:2a01:111:f403:f000::/52 -all
No nested includes: everything is listed as IP ranges.
Check your whole record
curl -O https://raw.githubusercontent.com/truone01/spf-lookup-check/main/spf-check.mjs node spf-check.mjs yourdomain.com
Or use the online SPF lookup checker. Over the limit? Read how to find the cause and fix it.