Microsoft 365 (formerly Office 365) is the backbone of most business communication. To authorize it to send mail on your behalf, Microsoft instructs you to add include:spf.protection.outlook.com to your domain's SPF record. While this is necessary, it is often the first step toward hitting the dreaded 10 DNS lookup limit.
Because Microsoft 365 is such a large platform, its SPF record is actually a complex chain of nested records. Adding it to your existing DNS settings can consume a large portion of your lookup "budget," leaving little room for your CRM, support tools, or marketing platforms.
The M365 Lookup Trap
When you hit the 10-lookup limit, receiving mail servers reject your messages. Your team starts reporting that emails to clients are bouncing, or that your internal alerts are disappearing. Because the issue is technical and invisible, most IT teams spend hours troubleshooting their mail server settings when the actual problem is a single line in their DNS file.
Why You Should Avoid Manual IP Hardcoding
Some administrators try to solve this by manually copying and pasting Microsoft’s IP ranges into their DNS. We strongly advise against this. Microsoft regularly updates its infrastructure. If you hardcode your SPF record, you are setting yourself up for an authentication failure the next time Microsoft changes their IP ranges.
The Automated Path to Compliance
The only secure way to support Microsoft 365 alongside your other business-critical tools is through automated SPF flattening.
At SPF1, our engine resolves your Microsoft 365 include statement—and all the lookups hidden behind it—into a single, flattened record. We monitor for any infrastructure updates from Microsoft and push those changes to your record automatically. This keeps you safely under the 10-lookup limit without you ever having to manually touch your DNS again.