The three records side by side
| SPF | DKIM | DMARC | |
|---|---|---|---|
| Answers | Which servers may send? | Was this message signed by the domain and left unchanged? | Do the results align with the From address, and what happens if not? |
| Lives in DNS as | TXT at the root | TXT or CNAME at selector._domainkey | TXT at _dmarc |
| Example | v=spf1 include:spf.protection.outlook.com -all | selector1._domainkey → provider key | v=DMARC1; p=reject; rua=mailto:… |
| Common failure | More than 10 DNS lookups, or a missing sender | A sending tool not signing with your domain | Policy stuck at p=none |
| Standard | RFC 7208 | RFC 6376 | RFC 7489 |
What is alignment, and why does it matter?
A message can pass SPF for a vendor’s bounce domain and still claim to be from you. DMARC requires that the domain that passed SPF or DKIM matches the domain in the From line. That one rule is what makes spoofing detectable.
The most common setup mistakes
- Two SPF records instead of one merged record.
- SPF ending in
~allor?allforever instead of-allonce senders are known. - Marketing or billing tools sending without DKIM for your domain.
- Never reading DMARC reports, so failures go unnoticed.
- Forgetting parked domains: publish
v=spf1 -allandp=rejecton domains that never send mail.
Beyond the three: MTA-STS and TLS-RPT
MTA-STS tells other servers to deliver to you only over verified TLS, and TLS-RPT reports failures. The Presence Scan checks for both, because they show a mature mail setup.
Key takeaways
- SPF lists senders, DKIM signs, DMARC aligns and enforces.
- Alignment with the From domain is what stops spoofing.
- Merge SPF into one record and stay under 10 lookups.
- Lock down parked domains that never send mail.
Sources
- RFC 7208: Sender Policy Framework (SPF)
- RFC 6376: DomainKeys Identified Mail (DKIM) Signatures
- RFC 7489: Domain-based Message Authentication, Reporting, and Conformance (DMARC)
- Gmail Help: Email sender guidelines FAQ
External sources were checked on November 25, 2026. IDENETY is not affiliated with them.