Article

Content

SPF Flattening Tools: How They Work and When to Use Them

SPF Flattening Tools: How They Work and When to Use Them

SPF Flattening Tools: How They Work and When to Use Them

Summarize with
Book more meetings with pre-warmed mailboxesReady-to-send Google & Microsoft inboxes in 5 minutes. US/EU IPs. No warmup wait.Get pre-warmed inboxes
4.8on G2
4.5on Trustpilot
Add as a preferred source on Google
Table Of Contents

Scanning page for headings…

SPF flattening replaces the include: mechanisms in your SPF record with the IP addresses they resolve to, so receivers need fewer DNS lookups. It's a common fix for the SPF 10-lookup limit, which causes a permerror when exceeded. But manual flattening is fragile: when a provider changes its IPs, your record silently goes out of date. This guide explains how SPF flattening tools work, the difference between static and dynamic flattening, the risks, and the alternatives worth trying first.

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

💡 TL;DR

SPF flattening tools resolve the include: mechanisms in your SPF record into IP addresses, reducing DNS lookups so you stay within SPF's limit of 10. Static (manual) flattening is risky because providers change their IPs, which can make legitimate mail fail SPF without warning. Dynamic flattening tools, often sold as hosted or managed SPF by DMARC vendors, monitor providers and update the flattened record automatically. Before flattening, try simpler fixes: remove includes for services you no longer use, move some senders to subdomains with their own SPF records, and rely on aligned DKIM where possible. Use flattening when those aren't enough.

By LiteMail · Prices/data checked on November 25, 2026

Table of Contents

  1. What Is SPF Flattening?

  2. Static vs Dynamic Flattening

  3. Do You Actually Need Flattening?

  4. Alternatives to Try Before Flattening

  5. How Dynamic Flattening Tools Work

  6. Types of Flattening Tools

  7. Risks of Flattening an SPF Record

  8. Step-by-Step: Deciding Whether to Flatten

  9. How to Verify a Flattened Record

  10. Flattening and Cold Email Domains

  11. Worked Example: From 13 Lookups to 8 Without Flattening

  12. Final Verdict: Clean Up First, Flatten Dynamically if Needed

  13. Frequently Asked Questions

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

What Is SPF Flattening?

SPF lets receivers check whether a server is allowed to send for your domain. Each include:, a, mx, redirect or exists mechanism triggers DNS lookups, and the SPF standard (RFC 7208) caps those at 10. Go over, and receivers return a permerror, which breaks SPF for all your mail.

Flattening replaces includes with the actual IP addresses behind them, so the record needs few or no lookups.

By the end of this, you'll know how these tools work, their risks and whether you need one.

Need pre-warmed inboxes ready today? Litemail delivers Google Workspace & Microsoft 365 mailboxes with weeks of warm-up history built in.Check Available Domains →

Static vs Dynamic Flattening

The key distinction is whether the flattened record stays up to date.



Static (manual) flattening

Dynamic flattening tools

How it works

You replace includes with IPs once

Tool monitors providers and updates IPs automatically

Maintenance

Manual; easy to forget

Automated

Risk when providers change IPs

High: legitimate mail starts failing

Low, if the tool updates promptly

Typical setup

Edit your TXT record

Point SPF to a hosted record via include or redirect

Cost

Free

Usually part of a paid DMARC or SPF service


🚩 Static flattening goes stale

Large providers change sending IPs over time. A record flattened by hand a year ago may no longer cover them, and SPF will fail without any error on your side.

How We Built This Guide

This guide follows the SPF specification (RFC 7208) and published descriptions of hosted and dynamic SPF services from DMARC vendors, checked on November 25, 2026. We haven't benchmarked specific flattening tools against each other, so we describe tool types rather than ranking products.

The content gap

Many pages promote this as the default fix for the 10-lookup limit. This guide puts simpler fixes first and explains when flattening, especially static flattening, creates new problems.

Litemail's pre-warmed Google Workspace & Microsoft 365 inboxes come with US/EU IPs, automated DNS, full admin access, and 4–12 weeks of warm-up history — all from $4.99/inbox. No separate warm-up tool needed.

Do You Actually Need Flattening?

Check first. Many records exceed the limit because of includes nobody uses anymore.

  1. Count lookups with an SPF checker.

  2. List every include and identify the service behind it.

  3. Confirm which services still send as your domain, using DMARC reports.

  4. Remove includes for services you've stopped using.

  5. Recount.

Our SPF, DKIM and DMARC guide and our guide to fixing SPF failures in this series cover lookup counting.

DMARC aggregate reports are the best evidence for which services really send as your domain. If an include belongs to a service that hasn't appeared in your reports for months, it's a strong candidate for removal.

Alternatives to Try Before Flattening

These fixes are often simpler and more durable.


Alternative

How it helps

Remove unused includes

Cuts lookups at no risk

Move senders to subdomains

Each subdomain gets its own SPF record and 10-lookup budget

Rely on aligned DKIM for some senders

DMARC passes via DKIM even if SPF doesn't cover a service

Use the provider's recommended, smaller include

Some providers offer narrower includes

Consolidate sending tools

Fewer services, fewer includes


Subdomains are especially effective: marketing mail from news.yourdomain.com doesn't need to share your main domain's SPF record.

Each of these reduces the number of services your main domain's SPF record has to cover, which also makes the record easier to understand and maintain. That matters as much as the lookup count, because records nobody understands are the ones that break during the next tool change.

Start Sending Cold Email Today — Not in 6 Weeks
Pre-warmed Google Workspace & Microsoft 365 inboxes. Automated DNS. US & EU IPs. From $4.99/inbox.
See Domains Ready to Send →
No credit card required · Setup in 5 minutes · Cancel anytime
Start Sending Cold Email — Pre-warmed inboxes from $4
Get Inboxes

How Dynamic Flattening Tools Work

Most dynamic tools follow the same pattern.

  1. You list the services that send for your domain.

  2. The tool resolves their includes to current IP ranges.

  3. It publishes a hosted, optimized record.

  4. Your SPF record points to it, typically with a single include or redirect.

  5. The tool rechecks providers regularly and updates the hosted record.

v=spf1 include:_spf.example-hosted-spf.com ~all
v=spf1 include:_spf.example-hosted-spf.com ~all
v=spf1 include:_spf.example-hosted-spf.com ~all

The example host is illustrative; each tool provides its own.

Get Fresh Email Inboxes — Set Up in 30 Minutes
Real Google Workspace and Microsoft 365 accounts on your domains. Automated DNS, SPF, DKIM and DMARC included.
Find Your Sending Domains →
Starts at $2.50/inbox · Automated DNS · No manual setup

Types of Flattening Tools

Tools come in a few forms.


Type

Examples (illustrative)

Notes

Hosted/dynamic SPF in DMARC platforms

Offered by several DMARC vendors, such as EasyDMARC and PowerDMARC

Combined with DMARC reporting

Standalone flattening services

Dedicated SPF services

Focused on SPF only

Free online flatteners

One-time IP output

Static; you maintain it


Check each vendor's current features and pricing; offerings change.

When evaluating a tool, ask how often it rechecks providers, what happens if the tool itself is unavailable, and how easily you can return to a normal SPF record if you stop using it.

Risks of Flattening an SPF Record

Even dynamic approaches have trade-offs.

  • Stale IPs with static flattening, causing silent SPF failures.

  • Record length: many IPs can exceed the 255-character TXT string limit, requiring multiple strings, and very long records can cause DNS issues.

  • Vendor dependence: your SPF relies on the tool's uptime and accuracy.

  • Hidden complexity: teams may not know which services are actually authorized.

Keep an inventory of authorized senders regardless of the tool you use.

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

Step-by-Step: Deciding Whether to Flatten

Use this process.

  1. Count lookups. If under 10, you don't need flattening.

  2. Remove unused includes and recount.

  3. Move suitable senders to subdomains.

  4. Confirm DKIM is aligned for each sender.

  5. If still over 10, choose a dynamic flattening tool, not static.

  6. Monitor DMARC reports after the change.

If you do adopt one of the available SPF flattening tools, document which services it covers and who owns the account, so the setup survives staff changes and doesn't become another mystery in your DNS.

How to Verify a Flattened Record

After any change, check that everything still passes.

  • Run an SPF checker: one record, 10 or fewer lookups, no errors.

  • Send test emails from every service; confirm spf=pass.

  • Review DMARC aggregate reports for new SPF failures.

  • Re-check after any provider announces infrastructure changes.

Set a reminder to repeat these checks every quarter, even with a dynamic tool. A quick review catches services that were added without updating the record and confirms the tool is still doing its job.

Flattening and Cold Email Domains

Cold email sending domains usually need far fewer includes than a main company domain, because they send through one mailbox provider and maybe one sequencer. Flattening is rarely needed there.

Keep outreach domains simple: one provider include, aligned DKIM and DMARC. Every Litemail pre-warmed inbox ships with this configured. See our deliverability guide.

Worked Example: From 13 Lookups to 8 Without Flattening

An illustrative cleanup.


Step

Lookups

Starting record (7 includes, nested)

13 (permerror)

Removed 2 includes for retired tools

10

Moved newsletter sending to news.company.com

8

Result

SPF passes; no flattening needed


Flattening would have worked, but the cleanup was simpler and leaves nothing to maintain.

What Real Users Say

Admins frequently describe static flattening breaking SPF months later when a provider changed IPs. Deliverability practitioners commonly recommend cleaning up includes and using subdomains first, and choosing dynamic, monitored flattening when the record is still over the limit.

Final Verdict: Clean Up First, Flatten Dynamically if Needed

These tools solve the 10-lookup limit by replacing includes with IP addresses. Static flattening is fragile because provider IPs change; dynamic tools keep records current. But many records don't need flattening at all: removing unused includes and moving senders to subdomains often fixes the problem more simply.

Flatten only when cleanup isn't enough, and always with monitoring.

Simple, Correct SPF on Every Outreach Domain

Litemail pre-warmed Google Workspace and Microsoft 365 inboxes ship with SPF, DKIM and DMARC pre-configured, so outreach domains stay well within lookup limits. From $39/month for 5 inboxes with dedicated US and EU IPs and full admin access.

Get Pre-Warmed Inboxes from $39/mo →

Google Workspace & Microsoft 365 · Full admin access · Dedicated US and EU IPs · Plans from 5 inboxes

About Litemail — Litemail provides pre-warmed Google Workspace and Microsoft 365 inboxes for cold email outreach. From $39/month for 5 inboxes with automated DNS, dedicated US and EU IPs, and full admin access. View pre-warmed inbox plans →

Related reading: SPF, DKIM and DMARC Setup Guide · Cold Email Deliverability Guide · Blacklist Prevention for B2B Teams · Inbox Monitoring for Enterprise Teams · Litemail Pre-Warmed Inboxes — Plans and Pricing

Key Takeaways

  • SPF has a 10-lookup limit; exceeding it causes a permerror.

  • Flattening replaces includes with IP addresses to reduce lookups.

  • Static flattening goes stale when providers change IPs.

  • Dynamic tools update flattened records automatically.

  • Remove unused includes and use subdomains before flattening.

  • Verify with SPF checks and DMARC reports after any change.

Frequently Asked Questions

What does flattening an SPF record mean?

Replacing include: mechanisms in an SPF record with the IP addresses they resolve to, reducing DNS lookups.

Why would I need to flatten SPF?

When your SPF record exceeds the 10-lookup limit and simpler fixes aren't enough.

Is static flattening safe?

It's risky because provider IPs change, which can make legitimate mail fail SPF.

What do dynamic flattening tools do?

They host an optimized record and update it automatically as providers' IPs change.

What should I try before flattening?

Remove unused includes, move senders to subdomains and rely on aligned DKIM where possible.

Do cold email domains need flattening?

Rarely. They usually have few includes.

Do Litemail inboxes include SPF?

Yes. SPF, DKIM and DMARC are pre-configured on Litemail inboxes from $39/month for 5 inboxes.


Buy Pre-Warmed Email Inboxes & Domains | Litemail

Buy pre-warmed email accounts, inboxes and domains from $39/month for 5 inboxes. Google Workspace & Microsoft 365. Automated DNS, US & EU IPs. Setup in 5 minutes.

View Plans & Pricing → Related reading: Google Workspace Inboxes · Microsoft 365 Inboxes · Outlook Subject Line Display · Pre-Warmed Domains · Litemail Home

Book more meetings with pre-warmed mailboxesReady-to-send Google & Microsoft inboxes in 5 minutes. US/EU IPs. No warmup wait.Get pre-warmed inboxes
4.8on G2
4.5on Trustpilot
Add as a preferred source on Google

Share

Share LiteMail automated email setup on Twitter (X)
Share LiteMail email marketing growth strategies on Facebook
Share LiteMail inbox placement and outreach analytics on LinkedIn
Share LiteMail cold email infrastructure on Reddit
Share LiteMail affordable business email plans on Pinterest
Share LiteMail deliverability optimization services on Telegram
Share LiteMail cold email outreach tools on WhatsApp
Share Litemail on whatsapp
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now