01What is DMARC Record Generator?
DMARC tells receiving mail servers what to do with a message that claims to come from your domain but fails SPF and DKIM alignment. It also tells them where to send reports. The record is a short TXT value at _dmarc.yourdomain, but the tag rules trip people up. This generator builds it from buttons and two text fields. It follows RFC 9989, the Standards Track DMARC specification published in May 2026. That RFC obsoletes the older informational RFC 7489 and the experimental RFC 9091 for public suffix domains. The Policy buttons set p= to none, quarantine or reject. Subdomain Policy (sp) and Non-existent Subdomain Policy (np) start on "Same as policy" and "Same as subdomains", and they are only written to the record when you pick something different. The np tag is new in RFC 9989. It lets you reject mail from made-up names like random123.example.com while your real subdomains keep a softer rule. Report addresses go in Aggregate Reports (rua) and Failure Reports (ruf). You can type several, separated by commas, with or without mailto:. Each one ends up with exactly one mailto: prefix, so "[email protected], mailto:[email protected]" becomes rua=mailto:[email protected],mailto:[email protected]. You won't find a percentage slider. RFC 9989 removed the pct tag and added a test flag, t=y, instead. With it, receivers are asked to apply one level below your policy, so reject is treated as quarantine and quarantine as none. Receivers still built on RFC 7489 ignore t=, so they may apply your full policy. Plan your rollout with that in mind. DKIM Alignment and SPF Alignment switch between relaxed and strict. Relaxed is the default, so only strict adds adkim=s or aspf=s. As an example, quarantine with strict alignment, test mode and one report address gives v=DMARC1; p=quarantine; rua=mailto:[email protected]; adkim=s; aspf=s; t=y. The Explanation panel restates the record in plain English. It spells out what subdomains and non-existent subdomains inherit and how test mode changes the policy. Read it before you copy the record. Two honest limits. The tool does not check that report addresses are valid, or that an outside domain has authorized your reports. It also does not look up your current DNS, so it cannot tell you whether a record already exists.
IT admins and deliverability folks who need a valid DMARC record under the current RFC 9989 rules, including np= and t=y, without memorising tag syntax. The tool runs entirely in your browser, so your data never leaves your device.
02How to use DMARC Record Generator
- Choose a Policy: none, quarantine or reject.
- Leave Subdomain Policy (sp) on Same as policy and Non-existent Subdomain Policy (np) on Same as subdomains, unless they should differ.
- Enter one or more addresses for Aggregate Reports (rua) and, if you want them, Failure Reports (ruf).
- Tick Test mode (t=y) while rolling out a stricter policy, and set DKIM Alignment and SPF Alignment.
- Read the Explanation panel, then click Copy Record and publish it as a TXT record at _dmarc.yourdomain.
03Worked examples
- Input:
Policy none, report email [email protected] - Result:
v=DMARC1; p=none; rua=mailto:[email protected] - Input:
Policy reject, subdomain policy quarantine, report emails "[email protected], mailto:[email protected]" - Result:
v=DMARC1; p=reject; sp=quarantine; rua=mailto:[email protected],mailto:[email protected] - Addresses can be typed with or without mailto:; each one gets exactly one mailto: prefix and they are joined with commas.
- Input:
Policy quarantine, rua [email protected], DKIM and SPF alignment strict, test mode on - Result:
v=DMARC1; p=quarantine; rua=mailto:[email protected]; adkim=s; aspf=s; t=y - Relaxed alignment is the default, so adkim/aspf only appear when set to strict.
- Input:
Policy reject, non-existent subdomain policy reject, no report emails - Result:
v=DMARC1; p=reject; np=reject - Without a rua address you get no aggregate reports, so you cannot see what the policy is blocking.
- Input:
Policy none, rua [email protected], ruf "[email protected], MAILTO:[email protected]" - Result:
v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected],mailto:[email protected] - An existing mailto: prefix is matched in any case and replaced by a single lowercase one.
04Common use cases
- Starting a p=none monitoring record to meet Google and Yahoo bulk-sender requirements
- Moving a domain from none to quarantine with t=y first, then removing the test flag
- Locking down a parked domain that never sends mail with a reject policy
- Rejecting mail from made-up subdomains with np=reject while real subdomains keep a softer policy
- Pointing aggregate reports at a DMARC analysis service or a shared mailbox
05Tips
- Run p=none for a few weeks and read the aggregate reports before tightening. Otherwise you may block real senders such as your CRM or billing system.
- Sending reports to an address on another domain only works if that domain publishes an authorization record for yours.
- Many large mailbox providers send no failure (ruf) reports at all, so don't depend on them for debugging.
- Strict alignment fails when mail is sent from a subdomain such as mail.example.com while the From header says example.com. Relaxed is usually the safer choice.
- Ticking t=y while the policy is none does nothing, and the Explanation panel says so.
06Related concepts
DMARC, SPF, DKIM, Email spoofing, DNS TXT record, Domain alignment.
Frequently Asked Questions
What is DMARC Record Generator?
DMARC Record Generator is a free, browser-based developer tool on AIDToolStack. Generate DMARC DNS records It requires no installation or sign-up and works entirely in your browser.
Is DMARC Record Generator free to use?
Yes. No sign-up, no fees and no usage cap.
Does DMARC Record Generator store my data?
No. It runs in your browser; nothing is uploaded.