How to use the DMARC generator
- Enter your domain.
- Pick a policy. For a domain that has never had DMARC, use
none. - Add an address for aggregate reports. A dedicated mailbox or a DMARC report service works; your personal inbox will fill up with XML.
- Leave the advanced options at their defaults unless you know you need them.
- Copy the record and publish it as a TXT record on
_dmarc.
A rollout that does not break mail
v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com
Wait for a couple of weeks of aggregate reports. Every source IP that sends as you should show SPF or DKIM passing and aligned. Fix the ones that do not, usually by setting up a custom DKIM domain and return-path with each email service.
v=DMARC1; p=quarantine; pct=0; t=y; rua=mailto:dmarc-reports@example.com
v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com
v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com
Test mode adds t=y and pct=0, so receivers apply the next weaker policy while you watch for problems: t=y for receivers on RFC 9989, pct=0 for those still on RFC 7489. Turn it off once you are confident.
Mistakes the generator avoids
- Forgetting
mailto:. Addresses are prefixed automatically. - Tag order.
v=DMARC1comes first andp=second. - Redundant tags. Defaults such as
adkim=randaspf=rare left out to keep the record short. fo=withoutruf=. The option only appears when you ask for failure reports.
After publishing
Run the DMARC checker to confirm the published record, including whether an outside report address has authorized your domain. Then send a message to a mailbox you can inspect and check the Authentication-Results header for dmarc=pass.