DMARC record generator
Choose what should happen to email that fails the checks, add an address for reports, and copy the record into your DNS. Nothing is uploaded.
| Type | TXT |
| Name | _dmarc |
After you add it, confirm it works with the SPF, DKIM and DMARC checker.
How to roll out DMARC safely
1. Start with none
Publish p=none with a report address. Delivery doesn't change, but reports start arriving within a day or two.
2. Fix what the reports show
Every legitimate service must pass SPF or DKIM for your domain. Update your SPF record.
3. Tighten the policy
Move to quarantine, then reject. Use the percentage option to go step by step.
Questions
Which DMARC policy should I start with?
Start with p=none. It changes nothing about delivery but sends you reports, so you can see every service that sends as your domain. After two to four weeks of clean reports, move to quarantine, then to reject.
Do I need DMARC if I already have SPF and DKIM?
Yes. Gmail and Yahoo require a DMARC record from anyone sending 5,000 or more emails a day, and it is what stops other people from faking your From address.
What is the rua address for?
It is where receivers send daily summary reports. They list who sent mail using your domain and whether it passed. Use a mailbox you actually read, or a separate address just for reports.
Where do I add the DMARC record?
In your domain's DNS, add a TXT record with the name _dmarc and paste the value. With Cloudflare the name is just _dmarc, without your domain after it.
What does alignment mean?
DMARC passes only when SPF or DKIM pass for the same domain that appears in your From address. Relaxed alignment also accepts subdomains. Strict needs an exact match. Relaxed is right for almost everyone.
More free tools
Records done? Test a real email.
Send one message to our mail tester and get a score out of 10 with every check explained.