1. Home
  2. Free tools
  3. DMARC record generator

Free DMARC record generator

Build a DMARC record you can paste into DNS.

Pick a policy and where the reports should go. The record updates as you type, with a warning when a setting will not do what you expect.

One or more addresses, separated by commas. With AtrioDMARC, the Email protection page gives you the exact address.
Record type

TXT

Name (host)

_dmarc.example.com

Value
v=DMARC1; p=none
Some DNS hosts want only "_dmarc" as the name and add the domain themselves.

Every DMARC tag, in one table

TagRequiredWhat it does
v=DMARC1Yes, firstMarks the record as DMARC
p=Yesnone, quarantine or reject: what to do with email that fails
sp=NoThe policy for subdomains; defaults to p=
pct=NoShare of failing email the policy applies to; defaults to 100
rua=No, but you need itWhere daily aggregate reports go
ruf=NoWhere failure reports go; most large providers do not send them
adkim=, aspf=Nor (relaxed, default) or s (strict) domain matching
fo=, ri=, rf=NoFailure report options, report interval and format; rarely needed

Start at p=none, end at p=reject

  1. p=none with a report address. Nothing is blocked. Read the reports and find every service that sends as the domain.
  2. Fix every real sender. Each one needs SPF or DKIM that matches the domain.
  3. p=quarantine. Failing email goes to spam.
  4. p=reject. Failing email is refused. Full protection.

Read more in p=none, quarantine and reject explained.

Generator FAQ

Where do I add a DMARC record?

At the company that hosts the domain's DNS (often the registrar, or a service such as Cloudflare). Add a TXT record with the name _dmarc (or _dmarc.yourdomain.com) and the generated value. A domain must have only one DMARC record.

Which DMARC policy should I start with?

Start with p=none and a report address, so you can see every service that sends as the domain without blocking anything. Move to quarantine and then reject once the reports show every real sender passing.

Can I send DMARC reports to an address on another domain?

Yes, but that other domain must publish an authorisation record named after yours, or mail providers will not send the reports. Report services set this up for you.