Skip to content
dnscheck.app

Glossary

DMARC: Definition, How It Works and Record Example

What DMARC is and what the letters stand for

DMARC stands for Domain-based Message Authentication, Reporting, and Conformance. This page covers the email standard. A DMARC policy is published in DNS. It tells receivers (the mail servers that accept a message) what to do with non-aligned mail, meaning mail that does not match what the receiver knows about the sender. DMARC builds on both DKIM and SPF and does not replace them. It is the policy and reporting layer on top of them. Domain owners are recommended to use both, though using only one is permitted. You can check your DMARC record live. For the other two parts, see SPF record and email authentication checks for your domain.

How DMARC policies and reports work

Senders and receivers share information. Receivers tell senders about their authentication infrastructure, and senders tell receivers what to do with messages that do not authenticate. Publishing a record does not block spoofed mail by itself. It states a policy, and receivers decide what to do.

  • p=none: the starting policy, used to request data reports.
  • p=quarantine: asks the receiver to consider quarantining the message. It does not guarantee a result.
  • p=reject: asks receivers to reject non-aligned messages.

Why am I getting DMARC emails? A receiver finds reporting requests by looking up the DMARC record of the sender's From domain. The rua tag in that record says where feedback goes. If your address is listed there, reports reach you. They are not spam or an attack on you. The attachment is XML and may be gzip-compressed. A receiver must ignore an external address if it cannot confirm authorization, because otherwise an attacker could flood a victim with reports.

Is DMARC necessary? A domain owner can opt out by publishing no record. Without DMARC, though, senders cannot easily tell how many legitimate messages fail authentication or how widely their domain is spoofed.

DMARC record example, tag by tag

DMARC policies are published as TXT records.

_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com"
  • v=DMARC1: the mandatory version tag.
  • p=reject: asks receivers to reject all non-aligned messages.
  • rua=mailto:...: where aggregate reports about those messages are sent.

To look up a record, run this command. The answer below is an example, not real output.

dig +short TXT _dmarc.example.com
"v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com"

On Windows, use Resolve-DnsName -Name _dmarc.example.com -Type TXT. Or skip the command and use the DMARC checker.

How to roll out DMARC without blocking real mail

Senders are advised to follow this order. Note your current DMARC record before you change it.

  1. Deploy DKIM and SPF, and make sure their identifiers align.
  2. Publish a record with policy none and a rua address to request data reports. This is the starting point:
_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"
  1. Analyze the reports and adjust your mail streams.
  2. Move gradually from none to quarantine, then reject, as the reports show your mail passes. This is the step after reading reports:
_dmarc.example.com. 3600 IN TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com"
  1. Verify each change with the DMARC checker.

Authentication is necessary but not sufficient for inbox placement.

References