1. Understanding RFC 7208's 10-lookup SPF ceiling and multiple-record traps
Sender Policy Framework (RFC 7208) suffers from two silent misconfigurations that break legitimate B2B mail daily. First, a domain may publish at most one v=spf1 TXT record at any given DNS label (RFC 7208 §3.2). Adding a second v=spf1 TXT record when onboarding a new CRM causes receiving mail servers to return permerror immediately.
Second, RFC 7208 §4.6.4 caps DNS-interactive evaluations (include, a, mx, ptr, exists and redirect) at 10 total lookups, counting nested include: chains recursively. Literal ip4:, ip6: and all mechanisms cost 0 DNS lookups. Stacking Google Workspace (3–4 nested lookups), Microsoft 365 (2), a helpdesk (2), a marketing ESP (3) and an ERP mailer (2) pushes the root domain past 10 and causes intermittent or total SPF failure.
- Subdomain segmentation over static IP flattening: Moving bulk marketing or automated notifications onto
news.company.co.ukornotify.company.co.ukgives each subdomain its own independent 10-lookup SPF budget and custom Return-Path (RFC5321.MailFrom), while static IP flattening goes stale whenever upstream cloud senders change IP ranges. ~all(SoftFail) vs-all(Fail) with DMARC: During staged rollout or where mail forwarding exists, DKIM survives forwarding while SPF breaks; ensure 2048-bit DKIM signing and identifier alignment are verified on every legitimate stream before tightening policies.
2. Identifier alignment: why passing SPF/DKIM is not enough for DMARC
DMARC (RFC 7489) does not merely ask whether SPF or DKIM passed; it checks whether the authenticated domain aligns with the visible RFC5322.From header domain seen by the recipient. Many third-party invoicing and ticketing platforms pass SPF against their own bounce domain (bounces.vendor-mail.net) while displaying your company domain in From:. Without a custom Return-Path CNAME or custom 2048-bit DKIM selector (s1._domainkey.yourcompany.co.uk), DMARC evaluates that message as unauthenticated.
; Stage 1 — Visibility only (collect aggregate XML reports for 14+ days; zero mail blocked)
_dmarc.example.co.uk. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:dmarc-rua@example.co.uk; fo=1; adkim=r; aspf=r;"
; Stage 2 — Cautious quarantine (quarantine 25% -> 100% of unaligned mail to spam while checking reports)
_dmarc.example.co.uk. 3600 IN TXT "v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc-rua@example.co.uk; adkim=r; aspf=r;"
; Stage 3 — Full enforcement + subdomain lock (blocks spoofing of root and unused subdomains)
_dmarc.example.co.uk. 3600 IN TXT "v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc-rua@example.co.uk; adkim=r; aspf=r;"3. Locking non-sending domains and preparing for BIMI
Any defensive .com, .co.uk or legacy domain owned by your company that never sends email should immediately publish explicit null records so attackers cannot spoof it: v=spf1 -all on the apex, *._domainkey IN TXT "v=DKIM1; p=" wildcard revocation, and v=DMARC1; p=reject; sp=reject; on _dmarc.
Once your active sending domain reaches p=quarantine; pct=100 or p=reject, you become eligible for BIMI (default._bimi.<domain> TXT record pointing l= to an HTTPS SVG Tiny Portable/Secure Tiny-PS logo). Note that Gmail and Apple Mail additionally require an a= URL pointing to a PEM-encoded VMC (requiring a registered trade mark) or CMC issued by an accredited Mark Verifying Authority; DNS records alone will not render inbox logos in providers that mandate a certificate.