DMARC TXT Tag Specifications (RFC 7489)
DMARC records live at _dmarc.yourdomain.com as a single TXT record. Only v=DMARC1 and p= are mandatory, while reporting and alignment tags control visibility and enforcement strictness.
| Tag | Allowed Values | Default | Purpose |
|---|---|---|---|
| v= | DMARC1 | Required | Protocol identifier; must appear first |
| p= | none | quarantine | reject | Required | Handling rule when SPF & DKIM alignment both fail |
| sp= | none | quarantine | reject | Inherits p= | Separate enforcement policy for subdomains |
| rua= | mailto:address | None | Destination for daily XML aggregate delivery reports |
| ruf= | mailto:address | None | Per-message forensic failure samples (rarely sent by Gmail) |
| adkim= / aspf= | r (relaxed) | s (strict) | r | Whether subdomains satisfy From: header alignment |
| pct= | 1–100 | 100 | Percentage of failing messages subject to the policy |
3-Stage DMARC Rollout Guide: p=none to p=reject
Jumping straight to p=reject without monitoring often triggers 550 5.7.1 bounces on Stripe receipts, HubSpot sequences, or Zendesk replies whose Return-Path or DKIM signature is unaligned. Follow this three-stage rollout:
p=none; pct=100
Collect daily rua= XML reports with zero delivery impact. Identify every third-party tool sending as your domain and verify each signs DKIM with your domain (d=yourdomain.com).
p=quarantine; pct=25 → 100
Route unaligned mail to Spam starting at pct=25, then ramp to pct=100. Monitor support tickets and rua= reports to confirm no legitimate billing or CRM mail is misclassified.
p=reject; pct=100
Block exact-domain phishing outright and qualify for BIMI brand logos in Gmail. Keep adkim=r and aspf=r unless compliance mandates strict subdomain separation.
How This DMARC Record Builder Works
Every control runs locally in your browser without sending domain or email inputs to an external server. As you toggle policy modes, subdomain inheritance, reporting addresses, alignment strictness, and rollout sampling percentages, the builder formats an RFC 7489 compliant semicolon-delimited TXT string and generates a tag-by-tag plain-English explanation so teammates can review DNS edits before publishing.
Frequently Asked Questions
Where do I publish the generated DMARC record in my DNS provider?
Create a TXT record at host _dmarc (most DNS dashboards like Cloudflare, Namecheap, and Route 53 append your root domain automatically so it resolves at _dmarc.yourdomain.com). Never publish two separate v=DMARC1 records on the same host.
Should I choose Relaxed (r) or Strict (s) alignment for adkim and aspf?
Use Relaxed (r) for nearly all SaaS and business domains. Relaxed alignment lets subdomains like mail.yourdomain.com or bounce.yourdomain.com pass DMARC when the visible From: address uses @yourdomain.com. Choose Strict (s) only if you require exact hostname matching.
Why do I get 550 5.7.1 DMARC rejection errors even though SPF passed?
DMARC requires alignment, not just a raw SPF pass. If a CRM sends with its own bounce domain in Return-Path while showing From: you@yourdomain.com, SPF passes for the vendor's domain—not yours. Configuring custom DKIM signing (d=yourdomain.com) resolves alignment immediately.
Does Gmail require p=quarantine or p=reject in 2026?
Gmail and Yahoo require at least a valid DMARC record (p=none minimum) for bulk senders, plus active SPF and DKIM alignment. However, enforcing p=quarantine or p=reject is required to stop domain spoofing and to display a BIMI brand logo in Gmail.
Do I need to fill in ruf= forensic reporting?
No. ruf= is optional and ignored by Gmail, Outlook, and most major mailbox providers due to privacy concerns. Focus on setting a monitored rua= aggregate reporting inbox first.