Bookmarks

DMARC — Domain-based Message Authentication, Reporting and Conformance

Domain-based Message Authentication, Reporting, and Conformance

A DNS record in which a domain states what to do with a message that fails SPF and DKIM checks, and where to send reports.

Also: DMARC record, DMARC policy

checked 9 Nov

All terms

SPF and DKIM each check their own identifier, but neither is tied to the address the reader sees in the From field. DMARC links them: a message passes only if at least one of the two checks succeeds and its domain matches the domain in From. The domain owner also tells receivers how to treat the rest of the messages, and receives reports.

Record and policy

The record is published as TXT at the name _dmarc in the domain:

dns
_dmarc.example.com. IN TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com; adkim=s"
TagWhat it sets
pthe policy for the domain: none to monitor only, quarantine to treat as suspicious, reject to reject
sp and npthe policy for subdomains and for non-existent subdomains
adkim, aspfdomain alignment: r is relaxed (a subdomain is fine), s is strict
ruawhere to send aggregate reports
ruf, fowhere and when to send reports on individual failures
ttesting mode: a request to apply the policy one step more leniently (reject as quarantine, quarantine as none)

How to roll out DMARC

  • Start with p=none and the rua tag: this shows who sends mail from your domain, and from which servers.
  • Once the reports show only legitimate sources with valid SPF and DKIM, move to quarantine.
  • Finally, switch on reject when you are sure that all legitimate senders pass the checks.

Reports are XML files that receivers usually send once a day: they show which IP addresses used the domain, and with what check results.

Standards

In May 2026 DMARC became a standard: RFC 9989 replaced the informational RFC 7489 and RFC 9091, and reporting was moved into separate RFCs, 9990 (aggregate) and 9991 (failure). The pct tag (percentage of messages) was removed, t, np and psd were added, and the organisational domain is found by walking the DNS tree.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • SPFSender Policy Framework

    SPF checks the sender’s IP address against the domain’s record, whereas DMARC requires that domain to match From and sets a policy.

  • DKIMDomainKeys Identified Mail

    DKIM signs a message, whereas DMARC decides what to do with it if the signature and SPF both fail.

In depth in the references

where the topic is covered in detail