Back to Tools
📧 Free Tool

DMARC Record Generator

Build one TXT for _dmarc. Start at p=none with reporting, then tighten when SPF and DKIM are clean.

Policy (p=)

Leave at 100 unless you are ramping enforcement.

Ready to publish

Generated DMARC record

One TXT at _dmarc. If a record already exists, edit it. Do not add a second.

Type
TXT
Host
_dmarc
Policy
none

TXT value

v=DMARC1; p=none

Before you publish

  • p=none only monitors. Unauthorised mail is still delivered. Move to quarantine, then reject, once reports look clean.
  • No rua= aggregate reporting address. You will not see who is sending as this domain.
  • No subdomain policy (sp). Subdomains inherit p=. Set sp= if they should be different.

Generate DMARC without bouncing yourself

The generator is a concatenator with a policy opinion: start at p=none, put a real rua= on it, publish one TXT at _dmarc. Enforcement is a later edit, not the first paste.

Same parser as the DMARC checker. If it warns about monitoring-only, that is the point on day one.

DMARC Generator FAQ

How do I create a DMARC record?

Start with p=none and a rua= address you control. Publish one TXT at _dmarc. Read reports for two to four weeks, then move to quarantine, then reject. Do not jump to reject if you have not listed every sender in SPF and DKIM.

What should rua be?

An inbox that can receive XML aggregate reports, often dmarc@yourdomain.com. This generator prefixes mailto: if you omit it. Forensic ruf= reports are optional and many providers never send them.

Should I set sp=?

Only if subdomains should use a different policy than the apex. If you omit sp=, they inherit p=. Set sp=none if marketing mail goes out of send.yourdomain.com and you are not ready to enforce there.

What is pct= for?

It applies the policy to a percentage of failing mail. Use it to ramp quarantine or reject. Leave it at 100 unless you are in the middle of a rollout.

Relaxed or strict alignment?

Relaxed (default) allows a subdomain to align with the From domain. Strict requires an exact match. Most ESPs need relaxed. Only switch to strict when every signer uses the exact From domain.

Does this publish the record?

No. Copy the TXT to _dmarc at your DNS host, wait for propagation, then check it with the DMARC checker.

Want the rest of the setup checked?

A generated record is the easy part. A free audit covers authentication, list quality, and sending habits.

Get Your Free Audit →