โ๏ธSPF, DKIM & DMARC Record Generator Documentation & Guide
๐How to Use This Tool
- Select Configuration Mode: Use Record Generator to build brand-new records or Syntax Validator to inspect an existing TXT snippet for RFC errors.
- Configure SPF Authorized Sendering: Specify your sending providers (e.g.
_spf.google.com,sendgrid.net) and IPv4 relays, choosing between~all(SoftFail) and-all(HardFail). - Set DMARC Enforcement Policy: Select an enforcement posture (
p=rejectfor zero spoofing tolerance, orp=quarantinefor spam filtering) and configure your reporting address. - Publish to DNS: Click โ๏ธ Generate DNS Records and copy the DNS TXT records directly into your authoritative DNS host (Cloudflare, AWS Route 53, Namecheap).
โ๏ธRFC Specifications & The 10-Lookup Ceiling
Email authentication engines enforce strict operational invariants:
include, a, mx, and redirect mechanisms. Exceeding 10 triggers an immediate PermError and drops deliverability.From: header aligns with the authenticated SPF domain or DKIM signing domain (d=).~all for SPF because DMARC overrides SPF failures, and strict -all can break legitimate mail forwarders lacking SRS (Sender Rewriting Scheme).๐กPractical Use Cases & Best Practices
- 2024 Google & Yahoo Compliance: Senders emailing more than 5,000 daily messages must enforce DMARC with at least
p=noneand have aligned SPF and DKIM. - Parked & Defensive Domains: For domains that never send email, publish a null SPF record:
v=spf1 -alland DMARC:v=DMARC1; p=rejectto eliminate impersonation. - Subdomain Inheritance: DMARC policies apply recursively to subdomains unless overridden by a specific
sp=tag (e.g.sp=reject).