DMARC record generator: build a _dmarc TXT record in your browser
How does this check work, and what does the result tell you?
AdminKit's DMARC record generator builds the exact _dmarc TXT record string for your chosen policy, subdomain policy, report addresses, percentage and alignment settings — entirely in your browser, with nothing sent to any server. You still need to publish the result in your DNS and confirm it there with AdminKit's live DMARC check.
Part of the Email authentication cluster — more tools, guides and terms on email authentication.
What receivers should do with mail that fails SPF/DKIM alignment.
Leave blank to let subdomains inherit p.
One or more email addresses, comma-separated. mailto: is added automatically.
Optional; less widely supported by receivers than rua.
Share of failing mail the policy applies to. Omitted from the record at 100.
Leave blank to use RFC 7489's relaxed default.
Leave blank to use RFC 7489's relaxed default.
Only affects per-message forensic reports (ruf).
- TXT record for _dmarc.<your domain>
- v=DMARC1; p=none
This record is built in your browser only — nothing here is sent to AdminKit or anywhere else. Publish it as a TXT record at _dmarc.<your domain>, then verify it with the live DMARC check.
What the result means
This is the record text built from the values you entered — it says nothing about what your domain currently publishes. To see what is actually live in DNS today, run AdminKit's DMARC check.
Next step
Publish the record above as a TXT record at _dmarc.<your domain>, then confirm it with the
live DMARC check once DNS
has propagated.
Keep this result
Copy a link to this check so you can share it or run it again later. Want a heads-up when this result changes? Talk to our team and we'll set it up for you.
How it works and limits
Fill in a policy, report addresses and the other tags below and this tool assembles the exact
_dmarc.<your domain> TXT record string as you type, entirely in your browser — nothing you enter is sent to
AdminKit or anywhere else. Once you are happy with the result, publish it as a TXT record in your own DNS, then
confirm it took effect with AdminKit’s live DMARC check, which queries DNS for real and
reports back what it actually found.
What does a DMARC record actually tell receivers?
A DMARC record, published as defined in RFC 9989 (which obsoleted the
original RFC 7489 in May 2026), tells a receiving mail server two things: what to do with a message that fails SPF or DKIM alignment (p, and optionally a separate sp
for subdomains), and where to send reports about what it saw (rua for daily aggregate summaries, ruf for
per-message forensic detail). DMARC.org’s overview walks through the same three
pieces — policy, alignment and reporting — in plainer language than the RFC itself. Google’s
recommended DMARC rollout
for Workspace domains follows the same order this tool’s examples do: start with p=none and move to
quarantine or reject once the reports show your legitimate mail passing.
The tags this tool builds
Every tag a DMARC record may carry is listed in IANA’s DMARC Tags registry, with the specification that defines it.
p— the headline policy for the domain itself:none(monitor only),quarantine(send to spam) orreject(refuse the message outright).sp— an optional separate policy for subdomains; left blank, subdomains inheritp. DMARC for subdomains explains when a subdomain needs its own record.rua/ruf— reporting addresses.ruacollects aggregate (daily, summarized) reports;rufcollects forensic (individual, per-message) reports and is less widely supported by receivers.pct— the percentage of failing mail the policy applies to, for a gradual rollout. Omitted from the record at its RFC 7489 default value of 100 (see the FAQ below). RFC 9989 markspcthistoric; itsttag, which this tool does not build, now covers testing a policy.adkim/aspf— relaxed (r, the default) or strict (s) alignment between the visibleFrom:domain and the domain that actually passed DKIM or SPF.fo— which SPF/DKIM failure combinations trigger a forensic report, whenrufis set.
How to read the results
The output updates as you change any field.
- TXT record for
_dmarc.<your domain>— the record string to publish, in a fixed tag order:v=DMARC1,p, thensp,pct,rua,ruf,adkim,aspfandfoonly when you set them. Report addresses getmailto:added if you left it out, and several addresses are joined with commas.pctis left out at 100. Copy record copies it. - Errors (red, no record shown) — a report address that isn’t a valid email address, or a
pctthat isn’t a whole number from 0 to 100. The generator shows no warnings: whether the policy suits your mail is for the DMARC check and your aggregate reports to tell you.
Examples
| Settings | Output | What it means |
|---|---|---|
Form defaults (p=none, nothing else) | v=DMARC1; p=none | Valid, but no reports and no enforcement: add a rua address. |
p=none, rua dmarc@example.com | v=DMARC1; p=none; rua=mailto:dmarc@example.com | The usual first record: monitor and collect aggregate reports. |
p=quarantine, sp=reject, rua dmarc@example.com, reports@example.net | v=DMARC1; p=quarantine; sp=reject; rua=mailto:dmarc@example.com,mailto:reports@example.net | Failing mail goes to spam; subdomains are rejected. example.net only gets reports if it publishes an authorization record for your domain. |
p=reject, rua dmarc@example.org, adkim and aspf strict | v=DMARC1; p=reject; rua=mailto:dmarc@example.org; adkim=s; aspf=s | Full enforcement with exact-domain alignment only. |
p=quarantine, pct 25, rua dmarc@example.com | v=DMARC1; p=quarantine; pct=25; rua=mailto:dmarc@example.com | RFC 7489 receivers apply quarantine to 25% of failing mail; RFC 9989 receivers ignore the historic pct. |
rua dmarc.example.com | Error: not a valid email address for rua | A dot where the @ should be. |
Limits
- This tool only builds the record text. It never queries DNS and never publishes anything — you still have to add the record to your own DNS and confirm it with a live check.
- It validates the values you enter (policy keywords, address syntax, numeric ranges) but has no way to know whether the report addresses you give it actually exist or belong to you.
For a plain-language walkthrough of what each tag means and a sensible rollout order, see the DMARC check’s own guide to reading the tags, or SPF, DKIM and DMARC explained for how DMARC fits together with the other two records. Once your record is live, AdminKit’s SPF check and DKIM check confirm the two records DMARC actually aligns against. To see how this generator’s tag coverage compares with EasyDMARC, dmarcian and MxToolbox, read the sourced best free DMARC record generators roundup, which ranks AdminKit second of four.
Frequently asked questions
Does this tool send anything to AdminKit's servers?
No — every field you fill in is read directly by your browser, and the record string is built there with plain JavaScript. Nothing you type is sent to AdminKit or anywhere else. That also means it cannot check what your domain currently publishes; for that, use AdminKit's live DMARC check, which does query DNS.
I built a record here — do I still need to do anything else?
Yes: this tool only builds the text of the record. You still have to publish it yourself as a TXT record at _dmarc.<your domain> in your DNS provider's control panel, then confirm it actually resolved correctly with AdminKit's DMARC check, which queries DNS for real.
Why is pct left out of the record when I set it to 100?
RFC 7489 §6.3 defined 100 as pct's own default when the tag is absent, so a record that applies its policy to all failing mail means exactly the same thing with or without pct=100 written out. This tool omits it at 100 to keep the record shorter; setting any value below 100 adds the tag. RFC 9989, which obsoleted RFC 7489 in May 2026, lists pct as historic and adds a t (testing) tag in its place; this tool does not build t.
What's the difference between adkim/aspf's relaxed and strict modes?
Relaxed alignment (the default in RFC 9989, as in RFC 7489 before it) accepts any subdomain match between the visible From: domain and the domain that passed SPF or DKIM — for example mail.example.com aligning with example.com. Strict alignment requires an exact match between the two domains, with no subdomain allowed either way.
Which policy should I start with?
p=none with a rua address you actually read. That policy changes nothing for delivery, and the aggregate reports show which services send mail as your domain and whether they pass SPF or DKIM alignment. Once every legitimate sender passes, move to p=quarantine, then p=reject. Building a record with p=none and no rua, the form's starting state, gives you neither protection nor reports.