What a DMARC record does
DMARC tells receiving mail servers what to do with messages that claim to come from your domain but fail authentication, and asks them to send you reports. It builds on SPF and DKIM: a message passes DMARC when SPF or DKIM passes and the domain they checked matches the domain in the visible From address.
Gmail and Yahoo require a DMARC record from bulk senders, and it protects any business from people sending fake emails in its name.
The tags explained
| Tag | Meaning |
|---|---|
| v=DMARC1 | Identifies the record. Always first. |
| p | Policy: none (monitor), quarantine (treat as spam) or reject (block). |
| rua | Where daily aggregate reports are sent. |
| ruf | Where failure reports are sent. Few providers send them. |
| sp | Policy for subdomains, if different from p. |
| pct | Share of failing mail the policy applies to, for gradual rollout. |
| adkim, aspf | Alignment for DKIM and SPF: relaxed (default) or strict. |
| fo | When failure reports should be generated. |
A safe rollout plan
- Publish p=none with a reporting address and leave it for a few weeks.
- Read the reports, find every service that sends email for you and fix its SPF or DKIM setup.
- Move to p=quarantine, optionally with a lower pct at first.
- When nothing legitimate fails, move to p=reject.
Where to add the record
In your DNS provider, create a TXT record with the host or name _dmarc (some providers want the full _dmarc.example.com) and paste the value. Only one DMARC record can exist per domain; edit the existing one if there is one already. Changes usually take effect within an hour.
Questions, answered
Start with p=none and a reporting address. Enforcing straight away can block legitimate email from tools you forgot about.
To the rua address. The reports are XML files, so many businesses send them to a DMARC reporting service that turns them into readable charts.
You need at least one of them working and aligned for your mail to pass. Set up both for the best results.