Important about upkeep
Services like Microsoft 365 and Google change their IP addresses without notice. A flat record must therefore be updated regularly, or genuine email may fail. Hosted SPF in Micronet DMARC does this automatically.
How to use the tool
- Enter the domain. We look up the whole SPF tree and collect all ip4 and ip6 addresses.
- The result shows how many lookups the record uses before and after.
- If the record gets too long, it is split into several records included from the main record.
- Read the notes before you use the suggestion.
Example
Before: v=spf1 include:_spf.service.com mx -all. After: v=spf1 ip4:203.0.113.0/24 ip4:198.51.100.7 -all. The new record uses no lookups, but no longer keeps up when the service changes its addresses.
When flattening fits
Flattening fits best for your own servers and small services with fixed addresses. For large cloud services it is safer to keep the include and instead remove services or move some of them to a subdomain.