Policy Builder

Free DMARC Record Generator

Build a DMARC record for your From domain in a few clicks. Choose a policy, add a report address, and copy a ready TXT record you can paste into your DNS. Runs in your browser, no signup.

Step 1

Start Here

Enter the record settings and run DMARC Record Generator.

Add up to 3 addresses, separated by commas.

Advanced Options

Leave these as they are unless you need them. Default values are left out of the record.

Applies to mail from subdomains such as mail.example.com.

A newer tag for made-up subdomains. Receivers that do not support it ignore it.

Optional. Failure reports can include parts of real emails, and many large mailbox providers do not send them.

Only used when a failure report email is set.

Runs in your browser. Address and domain checks may query public DNS. Nothing is added to your Mailrith account.

Step 2

Review The DMARC Generator Result

Review the status, warnings, and recommended actions shown in the result panel.

Ready When You Are

Your results will appear here.

About DMARC Record Generator

A DMARC record generator builds the DNS TXT record that tells inboxes how to handle email that uses your domain but fails authentication. Instead of writing the record by hand, you pick a policy and a report address, and the generator writes a clean record you can copy. Read DMARC before publishing a policy that affects live mail.

Most domains should start with p=none. It does not block anything. It asks inboxes to send reports, so you can see which tools send email as your domain and which ones still fail. Once your real mail passes, you can move to quarantine and later reject.

The basic fields cover most needs, and the Report Email field takes up to 3 addresses separated by commas. Open Advanced Options when you need a separate policy for subdomains, strict alignment, or failure reports. The generator leaves out any tag that matches its default value, so the record stays short and easy to read.

DMARC builds on SPF and DKIM, so check those first. If you still need an SPF record, use the SPF Record Generator. After you publish the DMARC record, run the DMARC Checker to make sure inboxes can see exactly one valid record. DMARC Alignment explains why SPF or DKIM must match your From domain.

If you send with Mailrith, there is no SES, SendGrid, or SMTP account to set up, because Mailrith sends email on its own servers. To send from your own domain, add a Sending Domain in your workspace and publish the DNS records Mailrith shows. The Mailrith Sending help article walks through each step.

What You Can Generate

  • Policy: none, quarantine, or reject
  • Up to 3 aggregate report addresses (rua)
  • Subdomain policy (sp)
  • Non-existent subdomain policy (np)
  • Relaxed or strict SPF and DKIM alignment
  • Failure reports (ruf) and report options (fo)
  • Rollout percentage (pct)
  • A clean TXT value with default tags left out
  • Safe rollout and publishing guidance

What a DMARC Record Does

A DMARC record is a short line of text in your DNS. It tells inboxes such as Gmail and Outlook what to do when an email uses your domain in the From address but does not pass SPF or DKIM for that domain. It can also ask inboxes to send you reports, so you can see every system that sends mail as your domain. DMARC Alignment explains what counts as a pass.

DMARC Record Examples

Replace example.com with your own domain and report address. Each example is the full value of one TXT record.

Monitor Only
v=DMARC1; p=none; rua=mailto:dmarc@example.com
Quarantine
v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com
Reject, Including Subdomains
v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@example.com

How to Add a DMARC Record to Your DNS

You add the record at the company that manages DNS for your domain. That is often your domain registrar or a DNS service such as Cloudflare.

  1. Open the DNS settings for the domain you send from.
  2. Check for an existing TXT record named _dmarc. If one exists, edit it instead of adding a second record.
  3. Add a record with Type TXT and Name or Host _dmarc. Many DNS hosts add your domain to the name for you, so do not type _dmarc.example.com unless your host asks for the full name.
  4. Paste the generated record as the Value, then save.
  5. Wait for DNS to update. This is often a few minutes but can take longer.
  6. Run the DMARC Checker to confirm inboxes can see one valid record.

DMARC Tags Explained

The generator only adds a tag when you change it from its default value. These are the tags you may see.

  • v=DMARC1: marks the text as a DMARC record. It always comes first.
  • p: the policy for your domain: none (monitor), quarantine (treat as suspicious), or reject (block).
  • sp: the policy for subdomains such as mail.example.com. If it is left out, subdomains use p.
  • np: a newer tag for subdomains that do not exist at all. Inboxes that do not support it ignore it.
  • rua: where inboxes send daily summary reports. You can list more than one address.
  • ruf: where inboxes send failure reports about single messages. Few large providers send them.
  • adkim and aspf: how closely the DKIM and SPF domains must match your From domain. Relaxed (r) is the default; strict (s) needs an exact match.
  • fo: when failure reports should be sent. It only matters if ruf is set.
  • pct: applies the policy to only part of failing mail during a rollout. Leave it out to apply the policy to all failing mail.

A Safe Path From p=none to p=reject

Moving straight to p=reject can block your own email if one of your tools is not set up yet. A slower path keeps real mail flowing. The DMARC guide covers each step in more detail.

  1. Monitor: publish p=none with a report address and read the reports for a few weeks.
  2. Fix senders: make each tool that sends as your domain pass SPF or DKIM for that domain.
  3. Quarantine: switch to p=quarantine once reports show your real mail passing.
  4. Reject: move to p=reject after reports stay clean and nobody reports missing email.

Questions

Should I Start With p=reject?

Usually no. Start with p=none if you are still discovering senders. Move to quarantine and reject only after legitimate mail passes aligned SPF or DKIM.

Do I Need a Reporting Email?

A reporting address is strongly recommended. Without reports, it is harder to see which systems send as your domain and what might break.

What Is a DMARC Record?

A DMARC record is a TXT record in your DNS at _dmarc.yourdomain.com. It tells inboxes how to handle email that uses your domain in the From address but fails SPF and DKIM for that domain, and where to send reports.

Where Do I Add the DMARC Record?

Add it in the DNS settings for your domain. Use Type TXT, Name or Host _dmarc, and paste the generated record as the value. Many DNS hosts add your domain to the name automatically, so you usually type only _dmarc.

What Does a Basic DMARC Record Look Like?

A simple monitoring record looks like v=DMARC1; p=none; rua=mailto:dmarc@example.com. It does not block any mail. It asks inboxes to send reports to the address after mailto:.

Do I Need SPF and DKIM Before DMARC?

You can publish a p=none record at any time, because it only monitors. Before you move to quarantine or reject, every tool that sends as your domain should pass SPF or DKIM for a domain that matches your From address. Otherwise real email can be blocked.

What Is the Difference Between rua and ruf?

rua is for aggregate reports: daily summaries of how much mail used your domain and whether it passed. ruf is for failure reports about single messages, which can include parts of real emails. Most domains only need rua, and many large mailbox providers do not send ruf reports.

What Do adkim and aspf Mean?

They set how closely the DKIM and SPF domains must match your From domain. Relaxed is the default and lets a subdomain such as mail.example.com count for example.com. Strict needs an exact match. Most senders should keep relaxed alignment.

Can a Domain Have More Than One DMARC Record?

No. A domain should have exactly one TXT record starting with v=DMARC1 at _dmarc. If you find two, merge the settings you want to keep into one record and delete the other, or inboxes may ignore DMARC for your domain.

How Long Until My DMARC Record Works?

It starts working as soon as DNS updates, which is often within minutes but can take longer depending on your DNS host. After that, run the DMARC Checker to confirm the record is visible. Aggregate reports usually start arriving within a day or two.