Request a tool
DNS & NETWORK TOOLS · FREE ONLINE TOOL

DMARC Record Generator

Build a correct DMARC DNS record with a guided formHand-typing a DMARC record is exactly how typos end up in DNS. One misspelled tag or stray space, and servers ignore the entire policy. This generator produces a correctly formatted record ready to paste into your DNS zone.

✓ Free to use✓ No sign-up✓ Ready in your browser
// DMARC RECORD GENERATOR · GET STARTED

Use DMARC Record Generator

Build a correct DMARC DNS record with a guided form

Monitoring only. Failed mail is delivered normally, but you receive reports.

Your DMARC record

v=DMARC1; p=none; pct=100; adkim=r; aspf=r; fo=1; ri=86400;

How to publish: add a TXT record at _dmarc.yourdomain.com with the value above. Changes usually take effect within a few hours, depending on your DNS TTL.

What each tag means

  • v v=DMARC1 identifies the record as DMARC version 1.
  • p p is the policy for your main domain: what receivers do with mail that fails DMARC.
  • sp sp is the policy for subdomains. "Inherit" means subdomains follow the main policy.
  • pct pct is the percentage of failing mail the policy applies to (100 = all of it).
  • rua rua is where providers send daily aggregate XML reports about your mail.
  • ruf ruf is where forensic failure reports for individual messages are sent.
  • adkim adkim sets DKIM alignment: relaxed allows subdomains, strict requires an exact domain match.
  • aspf aspf sets SPF alignment: relaxed allows subdomains, strict requires an exact domain match.
  • fo fo controls when failure reports are generated (1 = any authentication failure).
  • ri ri is how often aggregate reports are sent, in seconds (86400 = daily).
// DMARC RECORD GENERATOR · HOW IT WORKS

How to use the DMARC Record Generator

01

Choose policy

Enter your domain and choose a policy (start with none, then quarantine, then reject).

02

Set reports

Add your report email addresses and pick alignment settings.

03

Copy and publish

Copy the generated record and add it as a TXT record at _dmarc.yourdomain.com.

// DMARC RECORD GENERATOR · ABOUT THIS TOOL

About the DMARC Record Generator

DMARC sits on top of SPF and DKIM: it tells the world what to do with mail that fails authentication, and it gives you visibility through daily reports.

This generator turns your choices into a valid record, explains every tag in plain language, and recommends the safe policy ramp-up from none to reject.

Where it helps most

Correct syntax on the first try.

DMARC debuts

A domain with no record yet gets a proper monitoring policy with reports pointed at a real mailbox, which is the correct day-one posture.

Enforcement upgrades

When reports show clean authentication, generate the next stage, quarantine at a rising percentage then reject, instead of guessing at syntax.

Gradual rollouts

The percentage of mail the policy applies to is the standard way to roll out enforcement gradually while you watch the reports.

Complex setups

Advanced options expose subdomain policy and the adkim and aspf alignment modes, so the record matches your infrastructure rather than a template.

Building well

The decisions that matter.

Pick the policy

The policy selector walks through p=none for monitoring, p=quarantine for spam-foldering and p=reject for enforcement, with plain explanations of each.

Report addresses

Separate fields collect the aggregate report address (rua) and the forensic address (ruf), plus the percentage the policy applies to.

Verify after publishing

Because the output is a single TXT value, publishing takes one DNS edit, and you can verify the result immediately with the DMARC checker.

DMARC Record Generator: built for trust

Pick your policy, fill in a few fields, and paste the generated TXT value into your DNS in one edit.

// DMARC RECORD GENERATOR · COMMON QUESTIONS

DMARC Record Generator FAQs

Start with p=none and a rua address, for example v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com. This publishes a monitoring policy that collects reports without affecting delivery while you inventory legitimate senders.