DMARC Record Generator
The DMARC Record Generator creates a DMARC TXT value as you pick a policy, report mailboxes and alignment modes, with a live preview and character count.
Create a DMARC record
Your domain where DMARC will be applied
Separate several addresses with commas.
DMARC Record (Live Preview)
_dmarc
What Is a DMARC Record?
DMARC tells receivers how to handle mail that uses your domain in the From address but fails authentication, and where to send reports. The record is a TXT entry on the dmarc host, so for example.com the full name is dmarc.example.com.
A message passes when SPF or DKIM passes for a domain that aligns with the From address. Relaxed alignment accepts subdomain matches; strict needs an exact match.
How to Generate a DMARC Record
The preview updates as you edit:
1. Policy (p): Choose None (Monitoring only), Quarantine (Spam folder) or Reject (Block emails).
2. Aggregate Report Email (rua): Enter the mailbox for daily XML summaries; mailto: is added automatically.
3. Forensic Report Email (ruf): Optional address for per-message failure reports.
4. DKIM Alignment (adkim) and SPF Alignment (aspf): Keep Relaxed unless you need exact matches.
5. Policy Percentage (pct): Apply the policy to 1–100% of failing mail; 100 omits the tag.
6. Failure Reporting (fo): Set when forensic reports trigger.
7. Copy: Click Copy under DMARC Record (Live Preview).
Solved Example: Quarantine Half of Failing Mail
Input:
Policy (p): Quarantine (Spam folder)
Aggregate Report Email (rua): dmarc@example.com
Policy Percentage (pct): 50
Other fields: defaults
Output: v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com; adkim=r; aspf=r; pct=50
At _dmarc.example.com, this quarantines half of failing messages; the rest get p=none. To set host and TTL for the entry, try the TXT Record Generator.