FREE TOOL

Free DMARC Record Generator

Pick a policy and where reports should go, and get a DMARC record to publish. If your domain already has DMARC, we start from it and show what changes. No sign-up.

The record is published on _dmarc.yourdomain.com. If the domain already has DMARC, we read it once and fill the form from it.

What should happen to mail that fails?

Where should reports go?

Receivers send a daily summary (an XML file) to this address. Use a mailbox you read, or the address a DMARC report service gives you. Several addresses: one per line.

Advanced

Relaxed alignment (the default) is right for almost every domain.

Your DMARC record

Type
TXT
Host
_dmarc

Many DNS providers add the domain for you: then enter only _dmarc as the host (for a subdomain such as mail.yourdomain.com, _dmarc.mail).

Value

v=DMARC1; p=none
  • Without a report address, monitoring shows you nothing. Add an address you read, or the one a DMARC report service gives you.

Replace, do not add. If the host already has a record starting with v=DMARC1, edit it and paste this value. With two DMARC records, receivers ignore both.

What this builds

A DMARC record is one TXT record on _dmarc.yourdomain.com. It tells receiving servers what to do with mail that claims to come from your domain but fails SPF and DKIM, and where to send reports about it. Gmail, Yahoo and Outlook require one from anyone who sends in bulk.

This generator writes that record from a short form: the policy, the address for reports and, if you need them, the subdomain policy and strict alignment. Everything is built in your browser. If you type a domain that already has DMARC, the page asks our checker for the current record once, fills the form from it and shows which tags your new value changes.

Monitor first, then quarantine, then reject

  1. Monitor (p=none). Mail is delivered exactly as before, and receivers send you daily reports. Publish this first and read the reports for two to four weeks: every service that sends as your domain shows up.
  2. Fix what fails. A service that fails is usually missing from your SPF record or has no DKIM set up. The SPF record generator and the SPF checker help with the SPF half.
  3. Quarantine (p=quarantine). Once only mail you do not recognise fails, failing mail goes to spam. Watch the reports again.
  4. Reject (p=reject). Failing mail is refused. This is full protection from people sending as your domain. Keep the reports coming: they warn you when someone adds a new email tool without telling you.

Going straight to reject without reading reports is how newsletters and invoices disappear: the service that sends them was never set up for your domain.

Where reports go

The rua address gets one aggregate report per receiver per day, as an XML file. A mailbox you read works for a small domain; a DMARC report service turns the files into charts and is easier once you have several senders.

If the address is on another domain, for example a report service, that domain must publish a TXT record saying it accepts reports for yours: yourdomain.com._report._dmarc.reportdomain.com with the value v=DMARC1. Report services do this for you. If you use your own mailbox on another domain, the generator shows the exact record to add.

Subdomains and alignment

Without an sp tag, subdomains follow the same policy as the domain, which is what most domains want. Set a separate subdomain policy only for a reason, for example sp=reject while the domain itself is still at p=none. A subdomain policy weaker than the main one lets anyone send from an invented subdomain, so the generator warns about it.

Alignment is relaxed by default: mail.yourdomain.com counts as your domain. Strict alignment (adkim=s, aspf=s) needs an exact match and breaks many sending services that use a subdomain of yours for bounces. Leave it relaxed unless your reports show every sender aligned exactly.

Tags the form has no field for (pct, ruf, fo, rf, ri) are kept from your current record as they are, and you can remove them one by one.

How to publish it

  1. Copy the value from the result box.
  2. Open your DNS provider (Cloudflare, GoDaddy, Namecheap, Route 53, your registrar…) and find the TXT records of your domain.
  3. Edit the existing DMARC record if there is one, and replace its value. Otherwise add a TXT record with the host _dmarc (some providers want the full name, _dmarc.yourdomain.com).
  4. Save and wait for DNS to update, usually a few minutes to an hour.
  5. Check it with the DMARC checker. The "Check after publishing" button opens it with your domain filled in.
FAQ

DMARC generator questions

Which policy should I start with?

p=none with a report address. It changes nothing for delivery and shows you every service that sends as your domain. Move to p=quarantine when the reports show your own mail passing, and to p=reject after that.

Do I need SPF and DKIM before DMARC?

You can publish a monitoring record at any time, and its reports help you set up the other two. Before quarantine or reject, every service that sends as your domain needs SPF or DKIM passing with your domain, or its mail will go to spam or be refused.

Can I have two DMARC records?

No. With more than one record on _dmarc, receivers ignore all of them and your domain has no policy at all. Edit the record you have; the generator reads it and builds one value to replace it.

What email address should I use for reports?

Any mailbox you actually read, such as [email protected], or the address a DMARC report service gives you. Expect one email per receiver per day, more for a busy domain, so a separate mailbox is a good idea.

Do subdomains need their own DMARC record?

Usually not. A subdomain without its own record follows the record of the main domain (its sp tag if there is one, otherwise p). Publish a record on a subdomain only if it needs a different policy.

Does Ackuna store what I enter?

No. The record is built in your browser, and the report address never leaves it. If you type a domain, the page looks up its current DMARC record once through our checker, which keeps the answer for five minutes and does not log the domain.

Start sending in minutes

All three services free every month: 2,500 newsletter, 3,000 relay and 3,000 Agent Mail emails. No credit card required - upgrade only when your volume does.