Networking and DNS Tools

DMARC Generator

Use this free DMARC Generator to build a valid DMARC record for your domain. Choose your policy, set your reporting address, and copy a record that follows the current DMARC specification published in 2026. No sign-up required.

Current Specification Policy Rollout Guidance 100% Free

Read This First - The Specification Changed in May 2026

Most DMARC guidance and most generator tools have not caught up with this yet, so it is worth stating before anything else.

DMARC was republished in May 2026 as three new standards

RFC 9989 covers the core protocol, RFC 9990 covers aggregate reporting, and RFC 9991 covers failure reporting. Together they obsolete RFC 7489, which had been the DMARC specification since 2015, and they promote DMARC from Informational to Proposed Standard for the first time.

Three tags are deprecated and three are new

Deprecated

Added

pct — percentage of mail the policy applies to

t — binary testing flag

rf — report format

np — policy for non-existent subdomains

ri — report interval

psd — public suffix domain flag

Your existing records still work

Records continue to begin v=DMARC1, there is no DMARC2, and receivers implementing the new specification still accept records written under the old one. This is not a breaking change and nothing needs emergency attention.

But new records should not use the deprecated tags

If a generator hands you a record containing pct, it is producing output against a specification that is now obsolete.

One important caveat

Provider adoption always lags publication. The new np, psd and t tags may not yet be honoured by every receiver, so a new tag that does not appear to take effect most likely means that provider has not implemented it. This is normal for any specification change and resolves over time.

Why You Are Here

You are setting up DMARC for the first time. You have SPF and DKIM in place and DMARC is the next step, or a customer, platform, or compliance requirement is asking for it.

You are moving from monitoring to enforcement. You have been running p=none and collecting reports, and now you need to build the record that actually protects the domain.

You are updating a record written under the old specification. An existing record contains pct, rf, or ri, and you want a clean replacement.

For diagnosing a record that already exists, including whether it is valid and what your reports are telling you, the DMARC Checker is the right tool.

What This Tool Does

The DMARC Generator builds a valid DMARC record from your chosen settings.

Select your policy, add your reporting addresses, set your subdomain and alignment preferences, and the tool assembles a correctly formatted record ready to publish as a TXT record.

Where the record goes

Publish it at _dmarc.yourdomain.com as a TXT record. That subdomain prefix is required and is where receivers look for it.

The Three Policies

The p tag is the core of the record. It tells receiving servers what to do with mail that fails DMARC.

Policy

What receivers do

Protection

p=none

Deliver normally, send reports

NONE

p=quarantine

Deliver to spam or junk

Partial

p=reject

Refuse the message entirely

Full

p=none provides no protection whatsoever

It is a monitoring position. Attackers can spoof your domain exactly as freely as if you had no DMARC record at all. Its only function is to generate the reports you need in order to move onward safely.

p=quarantine is a stepping stone rather than a destination

Failing mail lands in spam, which means a recipient can still find it, and can tell you if something legitimate was caught. That safety net is the point.

p=reject is the goal

Failing mail is refused during the connection and never delivered anywhere.

Getting to Enforcement Without Breaking Mail

This is where the specification change matters most, and where most published advice is now out of date.

The old method used pct. You would set p=quarantine with pct=25, then raise it to 50, then 100, then move to reject. Applying the policy to a fraction of failing mail limited the damage if you had forgotten a legitimate sender.

That tag is deprecated

Because it was inconsistently implemented across receivers and rarely used correctly.

What replaces it is not equivalent, and it is worth being honest about that

The new t tag is binary: t=y means testing, t=n or omitting it means full enforcement. There is no percentage. So the specification now has no in-protocol mechanism for gradual percentage rollout, which is a genuine gap rather than a simplification.

Mapping your existing record

Old record

New equivalent

pct=100

Remove the tag entirely, this is the default

pct=0

t=y

pct=1 to 99

No direct equivalent

So how do you get to enforcement safely now?

The risk management moves out of the record and into your process.

  1. Run p=none until your reports are clean

    Every legitimate sending source must be passing SPF or DKIM with alignment, consistently. This is the step people rush and it is the one that matters.

  2. Inventory every sender

    Marketing platforms, CRM, helpdesk, invoicing, transactional email, your website's contact form. Each one needs to authenticate. A domain sending through a dozen services needs considerably longer here than one using a single provider.

  3. Move to p=quarantine when every known sender is passing

    Quarantine's safety net is now doing the job pct used to, since a wrongly caught message is recoverable from spam rather than lost.

  4. Watch reports at quarantine before advancing

    Weeks rather than days. Any legitimate mail being caught means a sender still needs fixing.

  5. Move to p=reject

    Only once quarantine has run cleanly.

  6. Re-check whenever you add a sender

    A new marketing tool that has not been authenticated will start failing the moment it sends, and under p=reject that mail is simply gone.

Why pct=0 Was Never Real Enforcement

Worth understanding even though the tag is deprecated, because plenty of live records still carry it.

A record reading p=quarantine with pct=0 looks like enforcement and does nothing

The policy applies to zero percent of failing mail, which makes it functionally identical to p=none. The domain remains fully spoofable.

It also fails BIMI requirements

BIMI is built around genuine enforcement rather than a policy tag that looks enforced. A shallow compliance check may pass such a record while the domain is entirely unprotected.

If you find pct=0 in a record, it maps to t=y under the new specification, and either way it is a position to move on from rather than settle at.

Record Tags

Tag

Required

Purpose

v=DMARC1

Yes

Version, must come first

p

Yes

Policy for the domain

rua

Recommended

Where to send aggregate reports

sp

Optional

Separate policy for subdomains

np

Optional, new

Policy for non-existent subdomains

adkim

Optional

DKIM alignment, r relaxed or s strict

aspf

Optional

SPF alignment, r relaxed or s strict

fo

Optional

When to generate failure reports

ruf

Optional

Where to send failure reports

t

Optional, new

y for testing, n for enforcement

psd

Optional, new

Only for public suffix domain operators

np closes a real gap

Without it, mail claiming to come from a subdomain that does not exist falls back to your sp or p policy. Setting np=reject refuses it outright, which is strictly better since no legitimate mail can originate from a subdomain you never created.

ruf is barely worth setting

Failure reports contain message-level detail including recipient information, which raises privacy concerns, and most major providers no longer send them. Aggregate reports through rua are where the useful information is.

Leave psd out

Unless you operate a public suffix domain such as a country-code registry or a .bank style TLD. It does not apply to ordinary domains.

Example Records

Starting position — monitoring only

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

Testing enforcement under the new specification

v=DMARC1; p=quarantine; t=y; rua=mailto:dmarc@example.com

Full enforcement with subdomain protection

v=DMARC1; p=reject; sp=reject; np=reject; rua=mailto:dmarc@example.com

Main domain enforced, subdomains still being verified

v=DMARC1; p=reject; sp=quarantine; np=reject;

rua=mailto:dmarc@example.com
Note the third and fourth examples both set np=reject. Non-existent subdomains have no legitimate senders regardless of what stage your real subdomains are at, so this can be set to reject from the beginning.

Sending Reports to Another Domain

A detail that catches people out, and it produces silence rather than an error.

If your rua address is on a different domain from the one publishing the record, that other domain must authorise it

Otherwise receivers will not send the reports. So a record on example.com pointing reports at an address on a vendor's domain requires that vendor's domain to publish an authorisation record confirming it accepts reports for example.com.

Most DMARC reporting services handle this automatically

When you add a domain to their platform. If you have pointed reports at an address you control on a different domain of your own, you need to publish that record yourself.

The failure mode is no reports arriving at all

With nothing to indicate why, which makes it easy to conclude DMARC is not working when the record itself is fine.

Common Mistakes to Avoid

Publishing a Record That Still Uses pct

The pct tag was deprecated when DMARC was republished in May 2026, and any generator producing it is working from an obsolete specification. Existing records containing it continue to function, since receivers still accept the old format, but new records should not include it. Use t=y while testing and omit the tag entirely for full enforcement. If you are replacing an old record, pct=100 simply disappears and pct=0 becomes t=y.
Jumping Straight to p=reject

Publishing reject before confirming every legitimate sender authenticates means real mail is refused, silently, with no bounce reaching you and often no indication until a customer mentions they never received something. Marketing platforms, helpdesk systems, invoicing tools, and website forms all send on your behalf and all need to pass SPF or DKIM first. Run p=none until reports show every source passing, then step through quarantine.
Treating p=none as Protection

A domain publishing p=none is exactly as spoofable as a domain with no DMARC record. Receivers deliver failing mail normally and simply report it. It is a diagnostic position, and a necessary first step, but a compliance checkbox that stops there has bought reporting rather than security. Enforcement is the only part of DMARC that prevents anything.

Quick Reference

Item

Detail

Publish at

_dmarc.yourdomain.com as TXT

Version tag

Records still start v=DMARC1

May 2026

RFC 9989 replaced RFC 7489

Deprecated

pct, rf, ri

New

np, psd, t

Migrating

pct=100 becomes nothing, pct=0 becomes t=y

p=none

Gives zero protection

p=quarantine

A stepping stone

p=reject

The destination

Percentage rollout

No longer exists in the spec

np=reject

Safe to set immediately

ruf reports

Barely supported

Reports to another domain

Need authorisation there

Frequently Asked Questions

What is a DMARC generator?

A DMARC generator builds a correctly formatted DMARC record from your chosen policy and reporting settings, so you do not have to write the syntax by hand. This DMARC Generator produces records following the current specification published in 2026, which means it omits the tags deprecated in that revision.

What changed in the DMARC specification in 2026?

DMARC was republished in May 2026 as RFC 9989, 9990, and 9991, replacing RFC 7489 and becoming a Proposed Standard for the first time. The pct, rf, and ri tags were deprecated, and np, psd, and t were added. Records still start with v=DMARC1 and existing records remain valid, so this is not a breaking change.

Should I still use the pct tag?

Not in new records. It was deprecated in the 2026 revision because receivers implemented it inconsistently. Records already containing it keep working, but when you next edit your record, remove pct=100 entirely and replace pct=0 with t=y. Values between 1 and 99 have no direct equivalent, so staged rollout now has to be managed through your process rather than through the record.

How do I roll out DMARC gradually without pct?

Through sequencing rather than percentages. Run p=none until your reports show every legitimate sender passing SPF or DKIM with alignment, then move to p=quarantine, where wrongly caught mail lands in spam and remains recoverable. Watch reports for several weeks at quarantine, then move to p=reject. The quarantine stage now carries the risk management that pct used to.

What is the np tag for?

It sets a policy for mail claiming to come from subdomains that do not exist. Without it, such mail falls back to your sp or p policy. Since no legitimate email can originate from a subdomain you never created, np=reject is safe to set immediately and closes a spoofing route that previously depended on your main policy being strict enough.

Is p=none enough for compliance?

It satisfies checks that only verify a DMARC record exists, but it provides no protection at all. Receivers deliver failing mail normally and merely report it, so the domain remains fully spoofable. Requirements from major mailbox providers and standards such as PCI DSS increasingly look for genuine enforcement rather than the presence of a record.

Why am I not receiving DMARC reports?

The most common cause is an rua address on a different domain from the one publishing the record. In that case the receiving domain must publish an authorisation record confirming it accepts reports on your behalf, and without it receivers simply do not send them. There is no error message, only silence, so the record itself looks fine.

Where do I publish the record?

As a TXT record at _dmarc.yourdomain.com. The _dmarc prefix is required and is where receiving servers look. Publish a record for every domain and subdomain you send mail from, which the 2026 specification recommends explicitly to avoid ambiguity in how receivers determine which policy applies. Records built with this DMARC Generator are ready to paste directly into that TXT record.

Comments

Login to leave a comment

No comments yet. Be the first to comment!