DMARC Record Generator & Tag Builder

Build a syntax-verified RFC 7489 _dmarc TXT record 100% client-side in seconds with live plain-English tag translations for every option. Configure enforcement modes (p=none, p=quarantine, or p=reject), separate subdomain policies (sp=), daily XML reporting addresses (rua=), relaxed or strict DKIM and SPF alignment (adkim and aspf), and staged pct= rollouts from 1% to 100% safely in your browser without sending domain inputs to external servers.

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.

TagAllowed ValuesDefaultPurpose
v=DMARC1RequiredProtocol identifier; must appear first
p=none | quarantine | rejectRequiredHandling rule when SPF & DKIM alignment both fail
sp=none | quarantine | rejectInherits p=Separate enforcement policy for subdomains
rua=mailto:addressNoneDestination for daily XML aggregate delivery reports
ruf=mailto:addressNonePer-message forensic failure samples (rarely sent by Gmail)
adkim= / aspf=r (relaxed) | s (strict)rWhether subdomains satisfy From: header alignment
pct=1–100100Percentage 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:

Stage 1 · Days 1–14

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).

Stage 2 · Days 15–30

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.

Stage 3 · Production

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.

Related Free Tools

Stateless utilities built by Razix — no signup or email gate required.

All Tools

Deep-Dive Engineering Guides

Practical documentation from the Razix engineering blog.

Razix Multi-Domain Workspace

Keep SPF, DKIM & DMARC aligned across every domain without guesswork.

Razix configures domain authentication in under two minutes and continuously watches your DNS records for accidental edits or drift.