DMARC (Domain-based Message Authentication, Reporting, and Conformance) is a DNS record that tells receiving mail servers what to do with messages that claim to come from your domain but fail authentication. It builds on SPF and DKIM, adds a check that the authenticated domain matches the visible From address, and asks receivers to send you reports about every source using your domain. Published correctly and moved to enforcement, it stops attackers from sending mail with your exact domain in the From line.
How DMARC works
Every email carries several domain names. The one people see is in the From: header, for example billing@example.com. SPF and DKIM, the two older authentication methods, check other domains that the recipient usually never sees. That gap is what spoofers exploit: a message can pass SPF for attacker.example.net while showing example.com in the From line.
DMARC closes the gap with three pieces.
- Authentication. The receiver evaluates SPF and DKIM as usual.
- Alignment. The receiver checks whether the domain that passed SPF or DKIM matches the domain in the
From:header. A message passes DMARC when at least one of the two passes and is aligned. - Policy and reporting. The receiver looks up your DMARC record, applies the policy you asked for to messages that fail, and sends aggregate reports to the address you list.
The evaluation step by step
When a message arrives claiming to be from example.com, a receiver that supports DMARC does roughly this:
- Extracts the domain from the
From:header (example.com). - Looks up a TXT record at
_dmarc.example.com. If there is none, it looks for the organizational domain's record (formail.example.comthat isexample.com). - Checks SPF against the envelope sender (the
MAIL FROMor Return-Path domain) and checks every DKIM signature. - Compares the passing domains with
example.comusing the alignment mode in your record. - If neither SPF nor DKIM produced an aligned pass, the message fails DMARC and the receiver applies your policy:
none,quarantineorreject. - Records the result for the next aggregate report.
The receiver keeps the final say. The DMARC specification lets receivers accept mail that fails even under p=reject, for example when they recognize a mailing list or a trusted forwarder. In practice, large mailbox providers honor enforcement policies for the overwhelming majority of failing mail.
What a DMARC record looks like
A DMARC record is a single TXT record published at the _dmarc label of your domain:
_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com"
That is a complete, valid record. It says: this is DMARC version 1, take no action on failing mail yet, and send aggregate reports to dmarc@example.com.
A stricter record for a domain that has finished its rollout might look like this:
_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=reject; sp=reject; adkim=s; aspf=r; rua=mailto:dmarc@example.com"
You can build either one with the DMARC record generator instead of writing tags by hand.
DMARC tags and their defaults
| Tag | Meaning | Values | Default if omitted |
|---|---|---|---|
v |
Version. Must be the first tag. | DMARC1 |
Required |
p |
Policy for the domain | none, quarantine, reject |
Required in RFC 7489 |
sp |
Policy for subdomains | same as p |
Inherits p |
np |
Policy for non-existent subdomains (RFC 9989) | same as p |
Inherits sp, then p |
adkim |
DKIM alignment mode | r (relaxed), s (strict) |
r |
aspf |
SPF alignment mode | r, s |
r |
rua |
Where to send aggregate reports | mailto: URIs, comma separated |
No reports |
ruf |
Where to send failure reports | mailto: URIs |
No reports |
fo |
When to generate failure reports | 0, 1, d, s |
0 |
pct |
Percentage of failing mail to apply policy to (RFC 7489 only) | 0 to 100 |
100 |
ri |
Requested report interval in seconds (RFC 7489 only) | integer | 86400 |
t |
Test mode (RFC 9989) | y, n |
n |
Without a rua tag, receivers will not send you aggregate reports at all, so always include one.
Is DMARC a standard?
Yes, and its status recently changed. DMARC was first published in 2015 as RFC 7489, an Informational document. In May 2026 the IETF published the revised specification, often called DMARCbis, as three Standards Track documents: RFC 9989 for the core protocol, RFC 9990 for aggregate reporting and RFC 9991 for failure reporting. RFC 9989 obsoletes RFC 7489.
The changes that matter to most domain owners:
- The
pct,rfandritags are removed. RFC 9989 notes thatpctwas rarely applied accurately for values other than 0 and 100. - A new
ttag (test mode) replaces the common uses ofpct.t=yasks receivers to treat your policy as one level lower than published. - A new
nptag sets a policy for subdomains that do not exist in DNS. - Receivers find the organizational domain with a DNS tree walk instead of a public suffix list, and a new
psdtag lets public suffix operators mark their records.
Records still start with v=DMARC1, and receivers are required to ignore tags they do not recognize, so an existing record keeps working. Expect receivers to adopt the new behavior over time rather than all at once.
How DMARC relates to SPF and DKIM
DMARC does not replace SPF or DKIM. It depends on them.
- SPF (RFC 7208) lets a domain list the servers allowed to send mail using it as the envelope sender. The receiver checks the connecting IP against the SPF record of the
MAIL FROMdomain. See SPF records explained. - DKIM (RFC 6376) attaches a cryptographic signature to the message. The
d=tag in the signature names the signing domain, and the receiver fetches the public key from DNS. See what is DKIM.
Neither one checks the From: header on its own. DMARC adds that link. A message passes DMARC if either SPF or DKIM passes with an aligned domain, so you do not need both to pass on every message, though setting up both makes your mail far more resilient. Forwarding, for example, usually breaks SPF but leaves DKIM intact.
What is DMARC alignment?
Alignment means the domain that passed authentication matches the From: domain. In relaxed mode (the default) the two only need to share an organizational domain, so a DKIM signature from mail.example.com aligns with From: news@example.com. In strict mode they must be identical. The DMARC alignment guide covers this in depth, including why mail can pass SPF and DKIM yet still fail DMARC.
Worked example: a spoofed invoice
Suppose example.com publishes:
_dmarc.example.com. IN TXT "v=DMARC1; p=reject; rua=mailto:dmarc@example.com"
An attacker sends this from their own server:
MAIL FROM:<bounce@attacker.example.net>
From: "Example Billing" <billing@example.com>
Subject: Overdue invoice
The receiver evaluates:
| Check | Result | Domain | Aligned with example.com? |
|---|---|---|---|
| SPF | pass | attacker.example.net | No |
| DKIM | none (no signature) | none | No |
| DMARC | fail |
SPF passed, but for the wrong domain. There is no aligned pass, so DMARC fails and the receiver applies p=reject: the message is refused during the SMTP transaction. The attempt still shows up in your next aggregate report as a source IP you do not recognize.
Now compare your real invoicing platform, which signs with d=example.com and uses a return path at bounces.example.com. DKIM passes with an aligned domain and SPF passes with a relaxed-aligned domain, so DMARC passes.
Why DMARC matters
It stops exact-domain spoofing
With an enforcement policy (quarantine or reject), mail that fakes your exact domain in the From line is filtered or refused by receivers that check DMARC. This is the most common form of brand impersonation in phishing and invoice fraud.
It is required by the largest mailbox providers
Since February 2024, Google requires anyone sending more than 5,000 messages a day to personal Gmail accounts to publish a DMARC record (p=none is enough) and to have the From domain align with SPF or DKIM, according to its email sender guidelines. Yahoo set similar rules for bulk senders, and Microsoft announced comparable requirements for high-volume senders to Outlook.com consumer addresses in 2025. Details are in the Google and Yahoo sender requirements guide.
It shows you who sends as you
Aggregate reports list every IP address that sent mail using your domain, with counts and SPF and DKIM results. Most organizations discover forgotten senders: a CRM, a help desk, an old newsletter tool. See how to read DMARC aggregate reports.
It is required for BIMI
Brand Indicators for Message Identification, which shows your logo next to messages in supporting inboxes, requires DMARC at enforcement. See the BIMI guide.
Common questions
Does DMARC stop all phishing?
No. DMARC protects your exact domain. It does not stop lookalike domains such as examp1e.com, display-name spoofing from a free mailbox, or compromised accounts that send authenticated mail. It removes the easiest and most convincing attack, which is why it is worth deploying anyway.
Will DMARC hurt my deliverability?
A p=none record has no effect on delivery. Moving to quarantine or reject before every legitimate sender is aligned will send some of your own mail to spam or get it refused. That is why the rollout starts with monitoring. The step-by-step setup guide walks through it.
Do I need DMARC on domains that never send mail?
Yes. Parked domains are easy targets because nobody watches them. Publish v=DMARC1; p=reject; together with an SPF record of v=spf1 -all so receivers can reject anything claiming to be from them.
What happens if I publish two DMARC records?
Receivers discard all of them and treat the domain as if it had no DMARC record. Keep exactly one TXT record at _dmarc.
Common mistakes
- Publishing at the wrong name. The record belongs at
_dmarc.example.com, not atexample.com. - Forgetting
rua. Without it you get no reports and fly blind. - Jumping straight to
p=reject. Legitimate third-party senders that are not aligned will start bouncing. - Typos in tags.
p=reject;with a stray character or a missingv=DMARC1at the start makes receivers ignore the record. - Staying at
p=noneforever. Monitoring alone does not protect anyone. It only tells you what would happen. - Ignoring subdomains. If
spis not set, subdomains inheritp. Make sure that is what you want.
Key takeaways
- DMARC is a TXT record at
_dmarc.<your domain>that starts withv=DMARC1. - A message passes DMARC when SPF or DKIM passes with a domain aligned to the From header.
p=nonemonitors,p=quarantinefilters,p=rejectrefuses failing mail.- Always include
ruaso receivers send you aggregate reports. - RFC 9989 (May 2026) replaces RFC 7489, removes
pct,rfandri, and addst,npandpsd. Existing records keep working. - Start with monitoring, fix your senders, then enforce.
Check your current record with the free DMARC checker, or run a full domain scan to see SPF, DKIM and DMARC together.