DNS and authentication

How to set up DMARC

Short answer

To set up DMARC, publish a TXT record at _dmarc.yourdomain such as v=DMARC1; p=none; rua=mailto:dmarc@yourdomain. Make sure SPF and DKIM already pass with your domain first. Start at p=none to collect reports without affecting delivery, fix any legitimate source that fails, then move to p=quarantine and finally p=reject. Gmail, Yahoo and Outlook.com require at least p=none for bulk senders.

Last checked 16 November 2026

To set up DMARC, add one TXT record at _dmarc.yourdomain that states a policy and where to send reports:

_dmarc.acme.com.  TXT  "v=DMARC1; p=none; rua=mailto:dmarc@acme.com"

Do it after SPF and DKIM are working, start with p=none, read the reports, and tighten the policy over a few weeks. DMARC is defined in RFC 9989, published in May 2026, which replaced RFC 7489.

What DMARC does

SPF checks the envelope sender and DKIM checks the signing domain, but neither checks the From address your reader sees. DMARC does. A message passes DMARC when:

  1. SPF passes and the SPF domain aligns with the From domain, or
  2. DKIM passes and the DKIM d= domain aligns with the From domain.

The DMARC record then tells receivers what to do with mail that fails, and where to send reports about everything they saw from your domain.

Before you start

Check that your existing mail already authenticates with your domain. Send a message from each service you use to a Gmail address, choose Show original, and confirm SPF or DKIM passes with your domain, not the vendor’s. If DKIM is signed by d=vendor.com, set up the vendor’s custom DKIM first (DKIM setup).

Step by step

  1. Pick a report address. A dedicated mailbox like dmarc@acme.com, or an address from a DMARC report service. Expect a lot of XML.
  2. Publish the record at host _dmarc with v=DMARC1; p=none; rua=mailto:dmarc@acme.com.
  3. Check it with dig +short TXT _dmarc.acme.com.
  4. Read reports for two to four weeks. Find every source sending as your domain. See how to read DMARC reports.
  5. Fix failing legitimate sources by adding them to SPF or setting up their DKIM.
  6. Move to p=quarantine, optionally with t=y (testing mode) first.
  7. Move to p=reject once quarantine causes no problems.

DMARC record tags

Tag Example Meaning Default
v v=DMARC1 Version, must be first Required
p p=none Policy for the domain: none, quarantine, reject Required
sp sp=reject Policy for subdomains Same as p
rua rua=mailto:dmarc@acme.com Where to send aggregate reports None
ruf ruf=mailto:dmarc@acme.com Where to send failure reports None
adkim adkim=s DKIM alignment: r (relaxed) or s (strict) r
aspf aspf=s SPF alignment: r or s r
t t=y Testing mode: receivers apply a softer action (replaces pct, removed in RFC 9989) n
fo fo=1 When to send failure reports 0
ri ri=86400 Requested report interval in seconds 86400

Policy: none, quarantine, reject

Policy What receivers do with failing mail When to use
p=none Deliver as normal, send reports First weeks, while you find all your senders
p=quarantine Treat as suspicious, usually the spam folder Once reports show your own mail passes
p=reject Refuse it, ideally during the SMTP conversation Full protection against spoofing

Gmail and Yahoo require bulk senders to publish DMARC, and accept p=none (Google, Yahoo). Outlook.com asks the same of domains sending over 5,000 messages a day (Microsoft). p=none meets the rule but does not stop spoofing, so do not stop there.

Alignment: relaxed vs strict

In relaxed mode (the default), the domains only need to share an organizational domain. send.acme.com aligns with acme.com. In strict mode they must match exactly.

Relaxed is right for almost everyone. It lets email services use a return-path subdomain for SPF while your From address stays on the root domain.

DMARC examples

Monitoring only:

v=DMARC1; p=none; rua=mailto:dmarc@acme.com

Try quarantine in testing mode while you watch the reports:

v=DMARC1; p=quarantine; t=y; rua=mailto:dmarc@acme.com

Full enforcement, subdomains included:

v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@acme.com

A parked domain that never sends mail:

v=DMARC1; p=reject

Pair the parked-domain record with v=spf1 -all so the domain cannot be used for spoofing.

Sending reports to another domain

If rua points at a different domain, for example a report service, that domain must publish a record authorizing it. For acme.com sending reports to reports.example.net, the receiver checks for a TXT record at acme.com._report._dmarc.reports.example.net containing v=DMARC1 (RFC 7489 section 7.1). Report services set this up for you.

How long each stage should take

There is no fixed timetable, but a cautious path looks like this. Stay at p=none until you have at least two weeks of reports covering your normal sending, including monthly jobs such as invoices or newsletters that a short window would miss. Then run p=quarantine for a few weeks (with t=y first if you want a softer start). Move to p=reject once quarantine produces no complaints from your own team or customers about missing mail.

Common mistakes

  • Publishing at the wrong name. The host is _dmarc, not dmarc and not the root domain.
  • Two DMARC records. Receivers ignore DMARC if they find more than one.
  • Jumping straight to reject. A forgotten sender, such as your billing tool, suddenly stops being delivered.
  • No rua. Without reports you cannot tell what is failing.

Mailcandor and DMARC

Mailcandor signs your mail with three DKIM records on your domain and uses send.yourdomain as the return-path, so both DKIM and SPF align under relaxed DMARC. When you add a domain, we suggest a DMARC record and check it with the other DNS records. Our free tools check any domain’s DMARC record, and the SPF, DKIM and DMARC overview shows how the three records fit together.

Questions

What is the minimum DMARC record?

v=DMARC1; p=none at _dmarc.yourdomain. It meets the Gmail, Yahoo and Outlook.com bulk sender rules. Add rua=mailto:... so you receive reports, otherwise you cannot see what is failing.

What is the difference between p=none, quarantine and reject?

none asks receivers to take no action, only report. quarantine asks them to treat failing mail as suspicious, usually the spam folder. reject asks them to refuse failing mail during delivery.

Is p=none enough?

It satisfies the bulk sender rules, but it does not stop anyone spoofing your domain. Treat it as the monitoring stage, and move to quarantine or reject once reports show your own mail passes.

Does DMARC need both SPF and DKIM to pass?

No. One aligned pass is enough. Having both makes delivery more robust, because forwarding often breaks SPF but not DKIM.

Do subdomains need their own DMARC record?

No. If a subdomain has no record, receivers use the organizational domain's record, applying the sp= policy if set, otherwise p=.

What happened to the pct tag?

RFC 9989 (May 2026) removed pct. To test a stricter policy, add t=y (testing mode) instead; receivers then apply a softer action. Records that still contain pct keep working because unknown tags are ignored.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.