What is DMARC?
A DNS policy that tells receiving mail servers what to do with email claiming to be from a domain when it fails SPF and DKIM checks: deliver, quarantine or reject. It also sends the domain owner reports on who is sending as them.
DMARC (Domain-based Message Authentication, Reporting and Conformance) closes the gap SPF and DKIM leave: it requires that a passing check aligns with the domain in the visible From address. The policy is a TXT record at _dmarc.domain with p=none (monitor), p=quarantine or p=reject. Organisations usually start at none, read the aggregate reports to find every legitimate service sending mail as them, then tighten the policy. A domain at p=reject is much harder to spoof exactly, which is why attackers turn to lookalike domains instead. DMARC does nothing about those, so user awareness and lookalike-domain monitoring still matter.
Source: IETF RFC (RFC 7489).
Practice it in a lab
Free, hands-on labs that teach DMARC.
- Set up SPF, DKIM, and DMARC for your domain (intermediate, ~70 min (plus waiting for DNS and the first DMARC report))
- Audit a domain's email and TLS hygiene with plain SQL: Steampipe's net plugin, no cloud account needed (beginner, ~40 min)
- Passive domain recon, part 1: read one domain for phishing tells with dig and whois (beginner, ~30 min)
- Read email headers to triage a suspicious message (beginner, ~30 min)
- Triage a suspicious email by reading its header (beginner, ~30 min)
- Investigate a phishing email end-to-end (the SOC/DFIR workflow) (intermediate, ~45 min)
- Pull the indicators out of a phishing email with CyberChef (headers, links, attachments) (intermediate, ~60 min)
- Verify email authenticity with DKIM from scratch (advanced, ~90 min)
Related terms
Related
- Set up SPF, DKIM, and DMARC for your domain
- Audit a domain's email and TLS hygiene with plain SQL: Steampipe's net plugin, no cloud account needed
- Passive domain recon, part 1: read one domain for phishing tells with dig and whois
- Read email headers to triage a suspicious message
- Triage a suspicious email by reading its header
- Investigate a phishing email end-to-end (the SOC/DFIR workflow)
- Pull the indicators out of a phishing email with CyberChef (headers, links, attachments)
- Verify email authenticity with DKIM from scratch
- DomainKeys Identified Mail
- Phishing
- Hash function
- Indicator of compromise
- Cybersecurity glossary
- Free cyber labs