Skip to content
Groundmail

Free tool · Generate

DMARC record generator

Choose your policy and report addresses and copy a valid DMARC record. Every option says what it does.

What the DMARC generator builds

It builds a valid DMARC TXT record from the policy, report addresses and alignment you choose, and explains each tag as you go. The record is what lets receivers apply your policy and send you reports, and Gmail, Yahoo and Microsoft require one from bulk senders.

How to read the record

v=DMARC1
The version tag. It must come first.
p=
The policy for mail that fails: none (monitor), quarantine (spam folder) or reject.
rua=
Where daily aggregate reports go, as mailto: addresses separated by commas. Always set it.
sp=
The policy for subdomains. Without it, subdomains follow p.
adkim= / aspf=
Alignment mode for DKIM and SPF: r (relaxed, the default, subdomains match) or s (strict, exact match).
pct=
The share of failing mail the policy applies to. Use it to roll out quarantine or reject gradually.

A safe rollout

Publish p=none with a rua address first. Watch the reports for a couple of weeks, fix any service of yours that fails, then move to p=quarantine and finally p=reject.

Publish the record as a TXT record at _dmarc.yourdomain.com. A domain can only have one. Then confirm it's live with the DMARC checker.

See who is sending as your domain

A DMARC record only tells receivers what to do. The reports it asks for show what actually happens: every server sending as your domain and whether it passes. Free DMARC monitoring reads them for you and says when it's safe to enforce.

Set up free DMARC monitoring →

Fix this by sending through Groundmail.

Add your domain and we give you the exact SPF, DKIM, DMARC and return-path records, check them for you, and sign every message with your own domain's key. Free for 3,000 emails a month.

Questions

What should my first DMARC record be?

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com. It changes nothing about delivery and starts the reports that tell you whether it's safe to enforce.

What are some DMARC record examples?

Monitoring: v=DMARC1; p=none; rua=mailto:dmarc@example.com. Gradual enforcement: v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@example.com. Full enforcement with subdomains locked down: v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@example.com.

What does pct do?

Applies the policy to only that share of failing mail, so you can move to quarantine or reject gradually. It has no effect with p=none.

What is the sp tag?

The policy for subdomains. Without it, subdomains inherit p. Set sp=reject to block spoofing of subdomains you never send from.

Where do I publish a DMARC record?

As a TXT record with the host _dmarc (the full name is _dmarc.yourdomain.com). Some DNS providers add the domain for you, so enter only _dmarc.