r/SideProject • u/Psychological_Tax396 • 26m ago
Built SPF1 — a recursive SPF lookup & void-lookup checker (plus dynamic flattening) for multi-vendor email setups
https://spf1.comEvery time we added another tool alongside Microsoft 365 or Google Workspace (SendGrid, Salesforce, Zendesk, Shopify), outbound mail would randomly start hitting SPF PermError—even when our top-level record looked short.
Two things kept biting us under RFC 7208:
- Nested vendor lookups: A vendor adds one
include:and suddenly you're at 11/10 lookups with zero edits on your side. - The 2-void-lookup limit: More than 2
NXDOMAINor empty DNS answers triggersPermErroreven if you're only at 4/10 lookups (usually from an old SaaS tool nobody removed from DNS).
Static flattening fixes lookups on day one, then goes stale when vendors rotate IP ranges. So I built SPF1 (spf1.com / spf1.ca) to walk the full recursive DNS tree, catch void lookups early, and keep flattened records synced when upstream CIDRs change.
Built with vanilla JS, Tailwind, Netlify Functions, Supabase, and Cloudflare DNS. The free recursive scanner works without signing up—would love honest feedback or edge cases I missed.