DMARC Record Generator
Build a DMARC record by choosing a few options, then copy it into your DNS. Enter your domain to load the record you already have, or start from the recommended settings below.
How to use this generator
- Enter your domain and choose Load current record. If you already have a DMARC record, its settings fill the form so you can change them safely.
- Pick a policy. If you're new to DMARC, start with None and a report address. You'll move to quarantine and reject once the reports show that all your real email passes.
- Add a report address. This is what makes DMARC useful: without reports you can't see which services send as your domain.
- Copy the value into a new TXT record named
_dmarcat your DNS host, then choose Check published record to confirm it's live.
Not sure where to start? Our guide How to set up DMARC, step by step walks through the whole rollout, from the first record to p=reject.
Recommended records
Starting out: monitor and collect reports
v=DMARC1; p=none; rua=mailto:[email protected]
Nothing changes for your mail, but you start receiving reports. Run this for two to four weeks while you fix any service that fails.
Halfway: quarantine
v=DMARC1; p=quarantine; rua=mailto:[email protected]
Mail that fails DMARC goes to spam. If you'd like a trial run first, add t=y (test mode): receivers that support it treat failures one level more leniently while you keep reading reports.
The goal: reject
v=DMARC1; p=reject; rua=mailto:[email protected]
Mail that fails DMARC is refused at receivers that enforce DMARC. One caution from the standard itself: if people at your domain post to mailing lists, which can break SPF and DKIM, it advises against p=reject; p=quarantine is the safer end point there.
A domain that never sends email
v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s
Pair it with an SPF record of v=spf1 -all. Parked and unused domains are a favorite of spammers because nobody watches them.
What each option means
DMARC is defined by RFC 9989, published in 2026, which replaced the original RFC 7489. The tags are:
| Tag | Option | Notes |
|---|---|---|
v=DMARC1 | Version | Must be the first tag, or the whole record is ignored. |
p= | Policy | none, quarantine or reject. Recommended; a record without it is treated as p=none. |
sp= | Subdomain policy | For existing subdomains without their own record. Defaults to p. |
np= | Non-existent subdomain policy | For subdomains that don't exist in DNS. Defaults to sp, then p. New in RFC 9989. |
rua= | Aggregate reports | Comma-separated mailto: addresses. |
ruf= | Failure reports | Rarely sent by large providers. |
adkim=, aspf= | Alignment | r (relaxed, the default) or s (strict). |
t= | Test mode | y or n (default). With y, receivers apply the policy one level more leniently. New in RFC 9989. |
fo= | Failure report options | 0, 1, d, s, combined with colons. Ignored without ruf=. |
The old pct=, rf= and ri= tags are now historic. Receivers that follow RFC 9989 ignore them, though older ones may still apply pct. If your record has pct=0, t=y is the modern equivalent; if it has pct=100, simply remove it.
Frequently asked questions
Where do I add the DMARC record?
At the company that hosts your domain's DNS, which may be your registrar, Cloudflare, your web host or your email provider. Create a TXT record with the name _dmarc and the generated value. Not sure who hosts your DNS? Run an NS lookup on your domain.
Can I send reports to an address at a different domain?
Yes, but the receiving domain has to agree, by publishing a TXT record named yourdomain.com._report._dmarc.theirdomain.com containing v=DMARC1. Reporting services set this up for you. The generator checks it when you enter your domain.
Should I use strict alignment?
Usually not. Relaxed alignment lets mail sent from mail.example.com count for example.com, which is how most email services work. Strict alignment makes sense for domains that never send email.
How long until the new record works?
A new record is usually visible within minutes. If you're replacing an existing record, it can take as long as the old record's TTL, often an hour. Reports arrive about a day later.
What happened to the pct tag?
The 2026 DMARC standard (RFC 9989) retired pct, because receivers rarely applied values other than 0 and 100 accurately. Its replacement is the test-mode flag t=y, which works like the old pct=0. The generator loads an existing pct=0 as test mode and leaves other values out.
Will publishing DMARC stop my email being delivered?
Not with p=none: it only asks for reports. Quarantine and reject can block legitimate mail from services that aren't set up for SPF or DKIM yet, which is why you start with none and read the reports first.