DMARC record: what it is and how to set one up

Last updated

The short answer

A DMARC record is a TXT record named _dmarc on your domain. It tells receiving mail servers what to do with email that claims to be from you but fails SPF and DKIM: nothing special (their normal spam checks still apply), send it to spam, or refuse it. It also asks them to send you reports of who is sending as your domain. Start with monitoring (p=none), read the reports, then tighten to p=quarantine and p=reject. Gmail and Yahoo require DMARC from bulk senders.

A safe first record:

Name:  _dmarc
Type:  TXT
Value: v=DMARC1; p=none; rua=mailto:dmarc-reports@yoursite.com

Every tag, in plain English

TagWhat it does
v=DMARC1"This is a DMARC record." Must come first.
p=The policy for mail that fails: none (no change requested: normal spam checks still apply, and you get reports), quarantine (treat as suspicious, usually spam), or reject (refuse it).
rua=Where to send the daily summary reports, as mailto: an address you read.
ruf=Where to send reports about individual failed messages. Many receivers don't send these.
sp=A different policy for subdomains. Without it, subdomains follow p=.
adkim= / aspf=How closely domains must match (below): r relaxed, the default, or s strict.

These come from RFC 9989, the DMARC standard, which replaced RFC 7489 in May 2026. Most small businesses need only v, p and rua.

The old pct= tag, which applied the policy to only part of your mail, is gone from the standard. It now has a test mode, t=y, that asks receivers to apply your policy one step more gently; ask your mail provider whether to use it.

Alignment: why DMARC can fail when SPF passes

DMARC passes when SPF or DKIM passes and the domain it checked matches the domain in the From address people see. That match is called alignment.

Reading the reports

With rua= set, receiving providers send a daily summary as an XML file: which servers sent mail as your domain, how many messages, and whether each passed SPF, DKIM and alignment. Look for:

The files are hard to read by hand; a DMARC reporting service can turn them into a summary. If reports go to an address on a different domain, that domain has to publish a record agreeing to receive them (RFC 9989); reporting services set this up for you.

From monitoring to reject, safely

  1. Start at p=none with a report address.
  2. Fix every legitimate service that fails, until reports show only your own mail passing.
  3. Move to p=quarantine, and keep reading the reports.
  4. When that runs cleanly, move to p=reject.

Jumping straight to reject can stop your own invoices or contact-form emails arriving. The SPF, DKIM and DMARC guide walks through it with Google Workspace and Microsoft 365 records.

What Gmail and Yahoo require

Since February 2024, Google and Yahoo require bulk senders (Google's threshold is more than 5,000 messages a day to Gmail) to publish a DMARC record, at least p=none, with the From address aligned with SPF or DKIM, alongside SPF, DKIM and one-click unsubscribe for marketing mail. Every sender needs at least SPF or DKIM.

Common mistakes

Checklist

Questions people ask

Where does the DMARC record go?
It is a TXT record named _dmarc on your domain (so _dmarc.yoursite.com), added wherever your domain's DNS is managed.
Is p=none good enough?
It is the right start, and it meets Gmail's and Yahoo's minimum for bulk senders, but it only monitors: it asks receivers for no change, so forged mail faces only their normal spam checks. Move to quarantine and then reject once your reports show only your own mail.
Who reads DMARC reports?
You, or a reporting service. The daily reports are XML files that are hard to read by hand, so many businesses send them to a DMARC reporting service that turns them into a summary.
Do I need DMARC if I don't send marketing email?
Yes. DMARC is what stops someone sending fake invoices or messages from your address, whatever kind of email you send. Gmail and Yahoo require it from bulk senders; everyone benefits from having it.
What about a domain I never send email from?
Protect it too: publish v=DMARC1; p=reject on it, with an SPF record of v=spf1 -all, so nobody can send as it.

What the free scan checks for this

These are the FocalScore checks that cover this guide's subject. Each one in your report says what it found, shows the evidence and gives the fix.

Sources

Last checked . Documentation, settings and rules change; if one of these pages now says something different, it is right and this guide is out of date. Tell us at info@focalscore.com.

  1. RFC 9989: DMARC
  2. Google Workspace Admin Help: Email sender guidelines
  3. Yahoo Sender Hub: Sender best practices
  4. Google Workspace Admin Help: Set up DMARC
  5. Microsoft Learn: Set up DMARC for your Microsoft 365 domain