Skip to main content
InboxkitSign up free

Free tool

DMARC record generator

Create a DMARC record from a policy, a subdomain policy, a percentage and your report addresses. Copy the TXT record, publish it at _dmarc, and step it up from p=none to p=reject as the reports come in.

Configure Your DMARC Policy

Receive daily DMARC aggregate reports. Separate multiple emails with commas.

Receive detailed reports for failed emails. Note: Not all providers send forensic reports.

Automate everything

Inboxkit provides automated DMARC deployment with monitoring and expert support.

Get Started

Walkthrough

Watch: create a DMARC record in under a minute

A 42-second walkthrough of the three DMARC stages: p=none to watch, p=quarantine to send failures to spam, and p=reject to block them. Pick a policy, set the percentage, add a report address and generate. Keep the report address: the reports tell you when it is safe to move up a stage.

How to use the DMARC generator

  1. Step 1

    Choose a policy

    None to monitor, Quarantine to send failing mail to spam, Reject to block it. Pick None if this is your first DMARC record.

  2. Step 2

    Set subdomains and percentage

    Leave Subdomain Policy on Inherit unless subdomains need different handling. Keep 100% for p=none; use a lower share when you first enforce.

  3. Step 3

    Add report addresses

    Enter an address for aggregate reports (RUA). Forensic reports (RUF) are optional. Separate several addresses with commas.

  4. Step 4

    Generate and publish

    Click Generate DMARC Record, copy the record and the _dmarc host, and add them to your DNS as a TXT record.

What this DMARC record generator writes

Every record starts with v=DMARC1. Each form field then adds one tag, and fields left at their default are left out so the record stays short. Filling in every field gives a record like this:

Type:  TXT
Host:  _dmarc
Value: v=DMARC1; p=quarantine; sp=reject; pct=25; rua=mailto:dmarc@yourdomain.com; ruf=mailto:forensic@yourdomain.com
TTL:   3600
Form fieldTagValuesWhat it does
DMARC Policyp=none, quarantine, rejectRequired. What receivers do with mail from your domain that fails DMARC.
Subdomain Policysp=none, quarantine, rejectLeft out when set to Inherit, so subdomains follow p=.
Policy Percentagepct=10, 25, 50, 75, 100Share of failing mail the policy applies to. Left out at 100, the default.
Aggregate Reports Emailrua=one or more addressesDaily XML summaries of who sent as your domain. Each address gets mailto: added.
Forensic Reports Emailruf=one or more addressesPer-message failure reports. Optional, and many receivers never send them.

Alignment (adkim, aspf) and failure options (fo) are not set, so receivers use the defaults: relaxed alignment and fo=0. The DMARC checker explains every tag, including the ones this form does not set.

DMARC policy rollout: from p=none to p=reject

Going straight to p=reject blocks any legitimate service you forgot about, such as a CRM, a billing tool or a new sending platform. Generate one record per stage, replace the old one in DNS, and only move up when the aggregate reports show your own senders passing.

Stage 1: monitor

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

Publish first and leave it for 2 to 4 weeks. Nothing changes for delivery. Read the aggregate reports and fix every legitimate source that fails SPF or DKIM alignment.

Stage 2: quarantine a share

v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@yourdomain.com

When the reports show only unknown senders failing. A quarter of failing mail goes to spam; the rest is treated as p=none. Step up to 50, 75, then 100 as reports stay clean.

Stage 3: quarantine all

v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com

At 100% the generator drops pct= because 100 is the default. Hold here for a few weeks and watch for legitimate mail landing in spam.

Stage 4: reject

v=DMARC1; p=reject; rua=mailto:dmarc@yourdomain.com

Failing mail is refused outright. Keep rua= so you see any new sender that starts failing.

How to publish your DMARC record

  1. Open your DNS host for the domain in your From address, not your website host if the two differ.
  2. Add a TXT record named _dmarc. Most hosts add the domain for you, so the record resolves at _dmarc.yourdomain.com.
  3. Paste the value starting with v=DMARC1, on one line. Set TTL to 3600 or keep the default.
  4. Replace, don't add. If a _dmarc record already exists, edit it. Two DMARC records on one domain means receivers apply neither.
  5. Repeat for every sending domain. If you send cold email from several secondary domains, each one needs its own record.

Mistakes that stop a DMARC record working

  • Publishing it at the root of the domain instead of at _dmarc.
  • Typing _dmarc.yourdomain.com where the host already adds the domain, which creates _dmarc.yourdomain.com.yourdomain.com.
  • Sending reports to an address on another domain that has not authorized it with a yourdomain.com._report._dmarc record.
  • Moving to p=reject before the reports show SPF or DKIM aligned for every service you send from.

Gmail, Yahoo and Outlook DMARC requirements

Since February 2024, Gmail and Yahoo require senders of 5,000 or more messages a day to their users to publish a DMARC record. A p=none record meets the rule, as long as SPF or DKIM passes for the same domain as the From address. Microsoft applies the same requirement to Outlook.com since May 2025.

Cold email domains rarely reach that volume one by one, but the same providers filter unauthenticated mail harder, so publish a record on every sending domain from day one. The Google and Yahoo sender requirements guide lists the rest of the rules, including one-click unsubscribe and spam rate limits.

Check the record after publishing

Run your domain through the DMARC checker to confirm the record resolves and every tag is valid, or query it from a terminal:

dig TXT _dmarc.yourdomain.com +short

DMARC passes only when SPF or DKIM passes and aligns with your From domain, so make sure DKIM is signing first (the DKIM generator covers servers you run yourself). The DMARC setup guide covers reading the first reports.

FAQ

Frequently asked questions

Pick a policy (start with none), add an address for aggregate reports, and click Generate DMARC Record. The generator returns a TXT record value such as v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com. Publish it in DNS as a TXT record with the host _dmarc.

Start with p=none. It changes nothing about delivery but starts the aggregate reports, which show every service sending as your domain and whether it passes. Move to p=quarantine with a low percentage once all legitimate senders pass, then to 100%, then to p=reject.

As a TXT record named _dmarc on the domain you send from, so receivers find it at _dmarc.yourdomain.com. Most DNS hosts want just _dmarc in the Name field and add the domain themselves. Publish only one DMARC record per domain: receivers ignore the policy when they find two.

Yes, for bulk senders. Since February 2024 Gmail and Yahoo require anyone sending 5,000 or more messages a day to their users to publish a DMARC record, with p=none as the minimum, and to have SPF or DKIM aligned with the From domain. Microsoft applies the same rule to Outlook.com since May 2025. Lower-volume senders are also better off with one, because an unauthenticated domain is easier to filter.

It applies the policy to only a share of the mail that fails DMARC. With p=quarantine; pct=25 receivers quarantine about a quarter of failing messages and treat the rest as p=none. It lets you move to enforcement in steps. The generator offers 10, 25, 50, 75 and 100, and leaves pct out at 100 because that is the default.

Yes, but the receiving domain has to agree to it. If yourdomain.com sends reports to reports@otherdomain.com, otherdomain.com must publish a TXT record at yourdomain.com._report._dmarc.otherdomain.com with the value v=DMARC1. DMARC reporting services set this up for you.

No. A subdomain without its own record falls back to the record on the main domain and uses its sp= policy, or p= if sp= is not set. Use the Subdomain Policy field to set sp= when subdomains should be treated differently, for example p=reject with sp=quarantine.

The generator sets five tags: p, sp, pct, rua and ruf. Alignment (adkim and aspf) and the failure reporting option (fo) stay at their defaults, which are relaxed alignment and fo=0, and that is the right setting for most domains. If you need strict alignment, add adkim=s or aspf=s to the end of the record by hand.

Enter your domain in the Inboxkit DMARC checker, which looks up _dmarc.yourdomain.com and validates every tag, or run dig TXT _dmarc.yourdomain.com from a terminal. Then send a message to a Gmail address, open Show original and look for DMARC: PASS.

Get started

Ready to implement DMARC?

Inboxkit provides automated DMARC deployment with monitoring and expert support.