DMARC record generator
TXT_dmarcv=DMARC1; p=none⚠ Add a report address (rua). Without it you won't see who is sending email as your domain.
A DMARC record generator builds the DNS text record that tells inboxes how to handle email that fails SPF and DKIM checks for your domain. Choose your policy, subdomain policy, percentage, reporting addresses and alignment, and this tool writes the record for the host _dmarc, ready to copy. It runs in your browser.
How to use the dmarc record generator
- Choose a policy: none, quarantine or reject. Start with none if you are new to DMARC.
- Optionally set a different policy for subdomains.
- Enter an rua address for aggregate reports, and an ruf address for failure reports if you want them.
- Choose relaxed or strict alignment for DKIM (adkim) and SPF (aspf).
- Copy the TXT value and add it at your DNS host with the host name _dmarc.
What each part of the record means
A DMARC record is a TXT record published at _dmarc.yourdomain. It always starts with v=DMARC1 and must include a policy, p=. With p=none, receivers deliver mail as normal and only send you reports. With p=quarantine, mail that fails DMARC is treated as suspicious, usually sent to spam. With p=reject, it can be refused.
rua= is where receivers send daily aggregate reports, which show which servers sent mail as your domain and whether it passed. ruf= asks for reports on individual failures; many large mailbox providers do not send these. sp= sets a separate policy for subdomains; without it, subdomains follow p=. adkim= and aspf= set alignment: relaxed (r, the default) lets a subdomain such as mail.yourdomain.com match yourdomain.com, while strict (s) needs an exact match.
We leave out the old pct= tag, which applied the policy to only a share of failing mail. The updated DMARC specification drops it, so receivers may ignore it. A gradual rollout works better by moving from none to quarantine to reject as your reports come back clean.
The safe path: start at p=none with an rua address, read the reports for a few weeks, fix any genuine sender that fails, then move to p=quarantine and finally p=reject.
| Tag | Values | What it does |
|---|---|---|
| v | DMARC1 | Marks the record as DMARC. Always first. |
| p | none, quarantine, reject | Policy for mail that fails DMARC |
| sp | none, quarantine, reject | Policy for subdomains (defaults to p) |
| rua | mailto: address | Where aggregate reports are sent |
| ruf | mailto: address | Where failure reports are sent (optional, often not sent) |
| adkim | r or s | DKIM alignment, relaxed (default) or strict |
| aspf | r or s | SPF alignment, relaxed (default) or strict |
Frequently asked questions
Where do I add a DMARC record?
At the company that hosts your domain's DNS, often your domain registrar. Add a TXT record with the host or name _dmarc (some hosts want _dmarc.yourdomain.com) and paste the value from the generator.
Should I start with p=reject?
Usually not. If any real sender, such as your newsletter tool or booking system, is not set up with SPF or DKIM yet, p=reject can block your own email. Start with p=none and an rua address, then tighten the policy once the reports look clean.
Will p=none protect my domain?
Not by itself. It tells receivers to take no action, so it does not stop spoofing. It does get you reports and meets Gmail's and Yahoo's requirement for bulk senders to have a DMARC record.
Do I need SPF and DKIM before DMARC?
DMARC depends on them. A message passes DMARC when SPF or DKIM passes for a domain that aligns with the From address, so set up at least one of them, ideally both, for every service that sends as you.
Can I have more than one DMARC record?
No. Publish exactly one TXT record starting with v=DMARC1 at _dmarc.yourdomain. If receivers find more than one, they treat the domain as having no DMARC policy.
Related free tools
- SPF, DKIM and DMARC checker: Free SPF, DKIM and DMARC checker.
- SPF record generator: Free SPF record generator.
- Email spam checker: Free email spam checker.
See all free email marketing tools →
Do this automatically in umails
umails writes your newsletter with AI, runs these checks before every send and sends from your own domain. Free for up to 500 contacts.
Start free