DMARC Record Generator

Configure your DMARC policy options and instantly get the DNS TXT record string ready to publish at _dmarc.yourdomain.com.

DMARC Policy Options

100 %

Separate multiple addresses with commas.

Generated TXT Record

How to Publish

  1. Log in to your DNS provider (Cloudflare, Route 53, GoDaddy, etc.).
  2. Add a new TXT record.
  3. Set the Name / Host to _dmarc (or _dmarc.yourdomain.com).
  4. Paste the generated value above into the Value / Content field.
  5. Save. DNS changes can take up to 48 hours to propagate.

Tag Reference

Tag Required Description
v=YesProtocol version — always DMARC1
p=YesPolicy: none / quarantine / reject
sp=NoSubdomain policy (inherits p= if omitted)
pct=No% of mail the policy applies to (default 100)
rua=NoAggregate report recipients (recommended)
ruf=NoForensic report recipients
adkim=NoDKIM alignment: r (relaxed) / s (strict)
aspf=NoSPF alignment: r (relaxed) / s (strict)
fo=NoFailure reporting options: 0, 1, d, s
Record copied!

Summary

Configure your DMARC policy options and instantly get the DNS TXT record string ready to publish at _dmarc.yourdomain.com.

How it works

  1. Select your main policy (none, quarantine, or reject) from the Policy dropdown.
  2. Enter one or more aggregate report email addresses (rua=) to receive daily DMARC reports.
  3. Optionally enter forensic report addresses (ruf=) and adjust the percentage (pct=).
  4. Set subdomain policy, DKIM alignment, and SPF alignment as needed.
  5. The generated TXT record updates live — click Copy to copy it to your clipboard.
  6. Publish the record as a DNS TXT entry at _dmarc.yourdomain.com with your DNS provider.

Use cases

  • Protect your domain from email spoofing and phishing abuse.
  • Gradually enforce email authentication by starting with p=none for monitoring.
  • Receive aggregate DMARC reports to diagnose legitimate mail authentication failures.
  • Generate a record for a subdomain with a different policy than the root domain.
  • Ensure compliance with Google/Yahoo 2024 sender requirements that mandate DMARC.
  • Quickly build a reject policy for domains that should never send email.
  • Audit alignment mode (strict vs relaxed) for DKIM and SPF headers.
  • Teach email authentication concepts with an interactive, real-output builder.

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu