SPF flattening solves one of the most common SPF problems - exceeding the 10 DNS lookup limit.
The problem
Every include, a, mx, and redirect mechanism in your SPF record costs one DNS lookup. If you use multiple sending services - Google Workspace, Mailchimp, Salesforce, HubSpot, and so on - you can easily exceed the 10-lookup limit.
What happens when you exceed the limit
When a receiver evaluates your SPF record and hits more than 10 DNS lookups, the result is a permerror. This means SPF fails for all emails from your domain, regardless of whether the sender is authorized. It's not a soft failure - it's a hard stop.
How SPF flattening works
Suped resolves all include, a, and mx mechanisms in your SPF record into their underlying IP addresses (ip4 and ip6 entries). Since literal IP addresses don't require DNS lookups, this dramatically reduces your lookup count.
The flattened record is hosted on Suped's infrastructure and automatically refreshed as sender IPs change. You don't need to manually update anything when Google or Mailchimp rotates their IP ranges.
Setup
- Go to Domains
- Click the three-dot menu on your domain row and select Configure SPF flattening
- Use the SPF generator to edit the desired record. Suped loads the saved desired record, or the domain's current SPF record when no desired record has been saved
- Click Save record. Suped saves the desired record and hosts a chunked, flattened version
- Replace your SPF TXT record with the recommended record shown in the dashboard. Do not append
~allor-allto this DNS record. Those belong in the desired SPF policy, which Suped hosts at the redirect target - Click Save and verify. Suped verifies the record and shows the current lookup count
Existing Suped include: setups remain supported; no DNS change is required for those domains.
Microsoft 365 and Outlook
When your desired SPF record includes Outlook, the recommended DNS record also keeps include:spf.protection.outlook.comalongside Suped's redirect. Outlook's IPs are still flattened in the hosted record. The extra include lets Microsoft 365 recognize its expected SPF configuration and avoids its “Possible service issues” warning.
If your existing DNS record uses Suped's redirect without the Outlook include, Suped shows an informational warning when Outlook is in your saved desired record. Outlook's IPs are already authorized through the flattened record, so that missing-include warning alone does not mean SPF is broken. Copy the suggested DNS record to clear Microsoft's warning.
Reverting
If you need to stop managing the record through Suped, click Undo in the SPF settings and confirm the removal. This does not change your DNS record, which you must update separately.
Automatic updates
Suped periodically re-resolves all the IP addresses behind your includes. If a sending service adds or removes IPs, the flattened record is updated automatically. This means your SPF record stays accurate without any manual intervention.