SPF Flattening
SPF Flattening is a tool to help you manage SPF records that exceed DNS lookup limits. DMARC Defender supports two types of flattening:
- Dynamic SPF Flattening: A managed service that keeps your flattened SPF record updated over time.
- Static SPF Flattening: A one-time export of a flattened SPF record based on the current state of your SPF policy.
You can view your current SPF lookup count using the Domain Check tool.
Dynamic SPF Flattening
Dynamic SPF Flattening will automatically scan your virtual SPF policy every 10 minutes and update the hosted flattened record whenever it detects a change in the source SPF policy. This ensures that your SPF record remains valid and within lookup limits without requiring manual updates.

Dynamic SPF Flattening page in DMARC Defender
To get setup:
- Click on the "SPF Flattening" button in either the domain action dropdown, or on any domain page.
- In Virtual SPF Policy, enter either the current SPF policy or a domain name to pull the SPF policy from, then click Save & Publish.
- Review the generated hosted TXT chunks and copy the install record shown in Setup Instructions.
- Replace the live SPF TXT record on your domain with that install record so your SPF checks resolve through the hosted flattened chain.
Static SPF Flattening
Static SPF Flattening looks up a domain's current SPF record and generates a simple flattened result immediately. It is useful for testing and troubleshooting, but it does not keep the flattened record updated for you.
Try Static SPF Flattening