DMARC
DMARC (Domain-based Message Authentication, Reporting, and Conformance) lets a domain owner publish a policy that ties SPF and DKIM results to the visible From header and tells receivers what to do when authentication fails.
In plain English
SPF and DKIM each catch some forms of spoofing, but the visible From header — the one humans see — is not directly authenticated. DMARC closes that gap by requiring the authenticated identity to align with the visible From, and by giving the domain owner a way to say "reject anything that does not align."
How it works
DMARC is defined in RFC 7489. The policy is a TXT record at _dmarc.example.com with directives like v=DMARC1; p=reject; rua=mailto:dmarc@example.com; adkim=s; aspf=r; pct=100. p is the policy action — none (monitor), quarantine, or reject. rua and ruf are aggregate and forensic report destinations; receivers (Google, Microsoft, Yahoo, etc.) send daily XML aggregate reports listing every IP that sent mail claiming to be from your domain. Alignment can be strict (s) or relaxed (r), and applies separately to SPF and DKIM. A message passes DMARC if at least one of SPF or DKIM passes and its authenticated domain aligns with the From header. The recommended rollout is p=none with reporting, fix sources, then move stepwise to p=quarantine and p=reject.
Related terms
- TXT record — DMARC is published as TXT
- SPF — one of the authentication inputs
- DKIM — the other authentication input
- MX record — receiving side
- DNS — base protocol
- Authoritative DNS — publishes DMARC
SecDNS perspective
SecDNS provides a DMARC template that starts at p=none with reporting pointed at your own inbox, then guides you through tightening alignment as your authenticated mail flow stabilises.