DMARC vs SPF vs DKIM
SPF, DKIM, and DMARC are complementary email authentication protocols defined by the IETF. They work together — DMARC cannot function without SPF and/or DKIM passing alignment checks.
| Protocol | RFC | Purpose | DNS Record |
|---|---|---|---|
| SPF | RFC 7208 | Authorizes sending IP addresses | TXT at domain root |
| DKIM | RFC 6376 | Cryptographic email signature | TXT at selector._domainkey |
| DMARC | RFC 7489 | Policy enforcement + reporting | TXT at _dmarc subdomain |
How they work together
SPF verifies the sending IP is authorized. DKIM verifies the message was signed with your domain's key. DMARC checks that SPF and/or DKIM align with the From domain, then applies your policy (none, quarantine, or reject) on failures.
Which do you need?
All three. SPF and DKIM provide authentication signals; DMARC provides policy enforcement and visibility. Without DMARC, receivers may accept spoofed mail even when SPF/DKIM fail individually.