What is DMARC?
An explanation of Domain-based Message Authentication, Reporting, and Conformance (DMARC).
What is DMARC (Domain-based Message Authentication, Reporting, and Conformance)?
DMARC, or Domain-based Message Authentication, Reporting, and Conformance, is the most advanced and comprehensive email authentication protocol. It builds upon the foundations of SPF and DKIM to provide domain owners with greater control over their email security, offering policies for handling unauthenticated messages and providing valuable reporting on email traffic.
How DMARC Works: Policies, Alignment, and Reporting
DMARC works by instructing receiving mail servers on how to treat emails that claim to be from your domain but fail SPF or DKIM authentication. It also provides a mechanism for domain owners to receive reports on email authentication failures, offering insights into potential spoofing attempts.
Key components of DMARC:
- Alignment: DMARC requires that the domain in the
From:header (the one users see) aligns with the domain used for SPF and DKIM checks. This prevents a common spoofing technique where SPF/DKIM pass, but the visible sender address is forged. - Policy: A DMARC policy, published as a DNS TXT record, tells receiving servers what to do with emails that fail authentication and alignment. There are three main policy options:
p=none: Monitor mode. No action is taken on failing emails, but reports are still sent. Ideal for initial deployment and gathering data.p=quarantine: Failing emails are moved to the recipient's spam/junk folder.p=reject: Failing emails are blocked entirely and not delivered.
- Reporting: DMARC allows domain owners to receive aggregate and forensic reports from participating mail servers. These reports provide data on email volume, authentication results, and sources of unauthenticated mail, which is invaluable for identifying and mitigating spoofing.
The Importance of DMARC for Email Security
Implementing DMARC is crucial for achieving the highest level of email security and brand protection in today's threat landscape.
- Comprehensive Protection: It combines SPF and DKIM, closing gaps that either protocol might leave individually, providing a more robust defense.
- Prevents Brand Impersonation: By enforcing strict policies, DMARC makes it extremely difficult for attackers to send emails pretending to be from your domain, safeguarding your brand's reputation.
- Visibility into Threats: The reporting feature provides actionable intelligence on who is sending email using your domain, both legitimately and illegitimately, allowing you to proactively address threats.
- Improved Deliverability: Domains with strong DMARC policies are seen as more trustworthy by email providers, leading to better inbox placement for your legitimate emails.
DMARC Records in DNS
A DMARC record is published as a TXT record in your domain's DNS, typically under the subdomain _dmarc.yourdomain.com. A basic DMARC record might look like this:
v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com;
Breaking down the components:
v=DMARC1: Specifies the DMARC version (currently alwaysDMARC1).p=none: Sets the policy to monitor mode. This is the recommended starting point.rua=mailto:dmarc-reports@yourdomain.com: Specifies the email address to send aggregate reports to. You can use a dedicated mailbox for this.
Conclusion: DMARC is the final, critical layer in a robust email authentication strategy, providing enforcement and feedback mechanisms that SPF and DKIM alone cannot. Its implementation is a strong signal to the email ecosystem that your domain takes security seriously.
