SPF
Hosted SPF
Hosted SPF means a specialist keeps your SPF record correct for you. Your domain publishes one short include, and the provider maintains the list of authorised senders behind it, inside the limits of the SPF standard. It suits domains that send through many services, and MSPs that manage SPF for dozens of client domains.
Why do SPF records break?
An SPF record lists the servers allowed to send email for a domain. It is simple for one mail platform and fragile for five. The standard, RFC 7208, sets hard limits that a growing record runs into:
- 10 DNS lookups. Every
include,a,mx,ptr,existsandredirectcounts, including the ones nested inside a provider's include. Above 10, receivers return a permanent error and SPF fails for all your mail. - 2 void lookups. Includes that point at names with no record also cause a permanent error after the second one.
- One record per domain. Two
v=spf1records on the same name is an error, a common result of adding a new service without merging. - Drift. Providers change their IP ranges and includes without telling you. A record that passed last month can fail today.
Because DMARC relies on SPF (and DKIM) passing in alignment, a broken SPF record can push legitimate mail into spam or rejection once a domain is at p=quarantine or p=reject. Read more in SPF too many DNS lookups: how to fix it.
How does hosted SPF work?
Instead of listing every service in your own DNS, your record points to a record the provider manages:
example.com. TXT "v=spf1 include:example-com._spf.provider.example -all"
The provider keeps that included record accurate: it resolves the includes of your senders, keeps the total within the lookup limits (by flattening includes to IP ranges, or by evaluating the check dynamically) and updates it when a sender changes its ranges. You add or remove a sending service in one place instead of editing DNS.
What are the benefits?
- Stays within the 10-lookup and void-lookup limits as you add services
- No syntax mistakes from hand-editing DNS, and only one SPF record per domain
- Provider IP changes are picked up without you noticing them first in a bounce
- One place to see and change authorised senders, per domain or across a client portfolio
What should you check before using it?
Hosted SPF moves part of your authentication into someone else's DNS. Choose a provider with redundant DNS, ask how quickly changes propagate (record TTLs), and make sure you can export the resolved list of senders if you ever leave. Keep DKIM signing in place for every sender as well: DKIM survives forwarding where SPF does not. The SPF flattening guide for MSPs explains the trade-offs of flattened records in more depth.
Who benefits most?
- Organisations that send through several platforms (Microsoft 365 or Google Workspace plus marketing, CRM, ticketing and invoicing tools)
- MSPs that maintain SPF for many client domains and want changes made in one console
- Domains that already hit the lookup limit, or are close to it
Check your SPF record first
Run your domain through the free SPF analyzer to count its lookups and spot errors. Want DMARC AI to host SPF for your domains? Get in touch or call +31 30 200 6416.
New to SPF? Start with the SPF guide.