Skip to main content

Free Tool

SPF & DMARC Record Generator

Build correct email authentication records for your domain. Select your senders, set your policy, and copy the ready-to-add TXT record.

Which services send email for your domain?

Check all that apply. Each adds an include: mechanism to your record.

Added as include:domain

Added as ip4:address

Enforcement policy

Generated Record

Add as a TXT record at @ in your DNS provider

Understanding SPF and DMARC

What SPF protects against

SPF (Sender Policy Framework) lists which mail servers are authorized to send on your behalf. Without it, anyone can send email that appears to come from your domain — a tactic used in phishing and business email compromise attacks. Set it as a TXT record at your root domain.

What DMARC adds

DMARC tells receiving servers what to do when SPF or DKIM fails: nothing (none), move to spam (quarantine), or block entirely (reject). It also enables aggregate reports — daily XML digests showing exactly who is sending email using your domain.

Softfail (~all) vs. hardfail (-all)

Softfail marks unauthorized senders as suspicious but still delivers them. Hardfail tells receivers to reject them outright. Start with ~all while confirming all your legitimate senders are included, then move to -all once email is flowing correctly.

DMARC rollout strategy

Start with p=none to monitor without blocking. Review the aggregate reports (rua) for 2–4 weeks to identify all senders. Move to p=quarantine, then p=reject once you're confident no legitimate mail is failing authentication.