DMARC Record Generator

Choose your policy and where to receive reports, and get a DMARC record ready to paste in your DNS.

Current DMARC record of wordpress.org loaded. Change what you need below. v=DMARC1; p=reject; rua=mailto:[email protected];
Policy for emails that fail SPF and DKIM p

Gmail, Outlook, Yahoo and others email this address once a day: an XML file with the servers that sent email as your domain and whether they passed SPF and DKIM. Recommended: without it you are flying blind.

Optional. A short report for each email that fails. Few providers send them (Gmail does not) and they may contain personal data, so most domains leave it empty.

Advanced options
When to send failure reports fo (only with ruf)

Your DMARC record



            
Type
TXT
Name / host
_dmarc (_dmarc.wordpress.org)

DMARC only works when SPF or DKIM pass for the same domain as the From address. Set them up first. Check it with the DMARC Checker after publishing →

What is a DMARC record?

DMARC is a TXT record at _dmarc.yourdomain that tells receivers what to do with email that claims to come from your domain but fails both SPF and DKIM, and where to send reports about it. Without DMARC, anyone can send email with your domain in the From address and receivers have no instructions to stop it.

How to use the generator

  1. Optional: enter your domain and press Load to start from your current record.
  2. Choose a policy. If this is your first DMARC record, start with Monitor (p=none).
  3. Enter an address for the daily reports (rua). Create a mailbox for it or use a report service.
  4. Copy the record and publish it as a TXT record named _dmarc.

Roll it out in three steps

StepRecordWhat to do
1. Monitorp=none; rua=…2–4 weeks. Read the reports: every service that sends as your domain appears there. Fix SPF or DKIM for the legitimate ones.
2. Quarantinep=quarantineFailing email goes to spam. You can start with pct=25 and raise it.
3. Rejectp=rejectFailing email is refused. Your domain is protected against spoofing.

The tags

TagMeaning
pPolicy: none, quarantine or reject. Required.
ruaWhere to send the daily aggregate reports (XML).
rufWhere to send copies of failing messages. Few providers send them.
spPolicy for subdomains, if different from p.
pctPercentage of failing email the policy applies to (default 100).
adkim / aspfAlignment: r relaxed (default) or s strict.
foWhen to send failure reports (0, 1, d, s).

Before you move to reject

Make sure every service that sends email for you passes SPF or DKIM with your domain: newsletter tools, your CRM, invoices from your shop, your help desk. Use the SPF Generator to list them, check their keys with the DKIM Checker, and verify the published record with the DMARC Checker.

Frequently asked questions

Where do I add the DMARC record?

In the DNS panel of your domain, as a TXT record with the name _dmarc (the panel adds your domain: _dmarc.example.com). A domain has only one DMARC record.

Which policy should I start with?

With p=none and a report address. For 2–4 weeks the reports show every server sending as your domain. Fix the legitimate ones that fail SPF or DKIM, then move to quarantine and finally reject.

Where should the reports go?

To a mailbox you create for it (dmarc@yourdomain) or to a DMARC report service, which turns the XML files into charts. A large domain can receive hundreds of reports a day, so do not use your personal inbox.

Why do I need an authorization record for reports to another domain?

To stop anyone from flooding a third party with reports. If your record sends reports to another domain, that domain must publish yourdomain._report._dmarc.theirdomain with v=DMARC1. Report services usually do this for you.

What do strict and relaxed alignment mean?

DMARC passes when the domain checked by SPF or signed by DKIM matches the From domain. Relaxed (the default) accepts subdomains of the same domain, such as mail.example.com for example.com. Strict requires the exact same name. Relaxed is right for almost everyone.

Is DMARC required?

Since 2024 Gmail and Yahoo require at least p=none from anyone who sends more than 5,000 emails a day to their users, and they are rolling it out further. Even for small senders it is the only thing that stops others from sending email as your domain. Check yours with the DMARC checker.

Related tools

Last updated: