Free tools / DMARC record generator
DMARC record generator
Choose what happens to mail that fails the checks, where reports go, and copy the record.
- Updates as you type
- Plain-language options
- Runs in your browser
What a DMARC record does
DMARC tells receiving mail servers two things: what to do with mail that claims to be from your domain but fails SPF and DKIM, and where to send reports about it. It is the setting that actually stops other people sending as you, because it is the only one that looks at the From address a reader sees.
The safe way to roll it out
- Start with "Just report" (
p=none). Nothing changes for your mail. Receivers start sending daily reports to the address you give. - Read the reports for a couple of weeks. They list every server sending as your domain and whether it passed. Fix SPF or DKIM for anything of yours that fails.
- Move to "Send to spam" (
p=quarantine), at a low percentage first if you send a lot. - Finish at "Refuse it" (
p=reject) once the reports are clean.
Add the result as a TXT record with the name _dmarc, then confirm it with the domain check.
What the options mean
- Reports (
rua). Summaries, one a day per receiver, in a machine format. A free reporting service will turn them into something readable. - Percentage (
pct). The share of failing mail the policy applies to. The rest is treated one step more gently. - Subdomains (
sp). A separate policy foranything.yourdomain.com. Left alone, subdomains follow the main policy. - Strict matching. By default a message from
news.yourdomain.comcounts as matchingyourdomain.com. Strict requires the exact domain.
Questions
Do I need DMARC?
If you send any mail from your own domain, yes. Gmail and Yahoo require a DMARC record from bulk senders, and without one nothing stops others from forging your address.
Will p=reject break my email?
Only for mail that fails both SPF and DKIM. That is why you start at p=none and read the reports first: they show you exactly what would be refused.
What address should reports go to?
One you control and will read, or the address a DMARC reporting service gives you. Expect a steady stream of automated mail, so a separate mailbox or alias is a good idea.
Where does the record go?
A TXT record named _dmarc on your domain. In full, the name is _dmarc.yourdomain.com.