Blog article

28 Jul 20268 minutes read

Waseem OsmanWaseem OsmanDMARC Enthusiast

SPF Record Creation: A Playbook for Enterprise Teams

Purple And Blue Email Envelopes Floating In Cyber Space With Binary Code In The Background

SPF record creation overview:

  • SPF record creation is a one-time task, but keeping the record accurate is ongoing.
  • The -all qualifier is the correct default for production domains; ~all belongs in testing or rollout phases.
  • Enterprise sender stacks often hit the 10-lookup limit with fewer senders than expected.
  • IP flattening removes lookup overhead but requires automated monitoring to stay accurate as vendor IPs change.
  • Subdomains don’t inherit the parent domain’s SPF record, so each one needs an explicit policy.
  • v=spf1 – Required version tag, always first
  • ip4:203.0.113.10 – Explicitly authorizes a single IPv4 address
  • include:spf.protection.outlook.com – Points to Microsoft’s SPF record
  • include:sendgrid.net – Delegates to a third-party sender
  • -all – Hard fail: Blocks any source not listed
  1. Microsoft 365 or Google Workspace (1-2 lookups)
  2. A marketing automation platform (1 lookup)
  3. A CRM (1 lookup)
  4. A transactional email provider (1 lookup)
  5. An HR platform (1 lookup)
  6. An on-premises server (1 lookup)
  7. A ticketing or support platform (1 lookup)
  8. A finance system (1 lookup)
  1. Regional or product subdomains used by marketing or transactional systems
  2. Acquired domains operating under a subsidiary subdomain
  • DNS team owns record publication and change execution
  • IT operations owns the sender inventory and coordinates vendor onboarding
  • Security or compliance owns the audit trail and periodic review cycle
  • Department leads own approval for their team’s third-party senders
  1. Quarterly: Full sender inventory review against the published SPF record
  2. On-demand: Any new vendor, SaaS tool, or infrastructure change that affects outbound email
  3. Post-incident: Any SPF failure that caused production email disruption
  • A sender not in the inventory is actively sending emails from your domain
  • SPF enforcement is at ~all or weaker on a domain that processes finance or HR communications
  • A department is onboarding a third-party sender that can’t provide SPF include details or a fixed IP range
  • An acquired subsidiary’s domain is sending messages with no SPF record
  • The 10-lookup limit is consistently exceeded, and no flattening solution is in place
  • DNS change log with timestamps, approver, and before and after record state
  • Sender inventory with owner and last-reviewed date
  • Incident log for SPF failures, including root cause and resolution
Share:

Get the latest email security updates delivered to your inbox each month

Is Your Domain Protected?

Get your domain’s security score in seconds.
Check your impersonation, privacy, and branding ratings.

If you’re at risk of impersonation, one of our experts will be in touch to assist.

Useful Tools

DNS Lookup
Free toolNo sign-up

DNS Lookup

Use Sendmarc's DNS lookup tool to instantly analyze domain records, verify configurations, and detect DNS issues for better performance.

Email Header Analyzer
Free toolNo sign-up

Email Header Analyzer

Quickly analyze email headers with Sendmarc’s email header analyzer. Check SPF, DKIM, and DMARC results, detect phishing, and improve email deliverability.

Domain Checker
Free toolNo sign-up

Domain Checker

Use the Sendmarc domain checker to test against malicious use - free, no sign-up required, with results in under a minute.