Runs in your browser
DMARC record generator
Build a DMARC record: what receivers should do with mail that fails, where to send reports, and how strict alignment is.
Your policy
TXT record at
Rolling it out
- Start with
p=noneand aruaaddress, read the reports for a few weeks, then move toquarantineandrejectonce every legitimate sender passes. Test mode (t=y) asks receivers not to apply a stricter policy yet while reports keep coming; it replacedpct, which RFC 9989 removed in May 2026. - Gmail and Yahoo accept
p=nonefrom bulk senders, but the record has to be published and the mail has to pass DMARC: the From: domain aligned with the SPF or DKIM domain (sender requirements). - Reports sent to an address outside your own organisation’s domain (a reporting service, for example) need that domain to publish an authorisation record; the note under the record names it (RFC 9990, section 4).
Reading the record
- Publish the line as one TXT record at the name shown above it,
_dmarc.followed by your domain, not at the domain itself. sp=appears only when subdomains get their own policy; without it they followp=.adkim=sandaspf=sappear only for strict alignment. Relaxed is the default, so the record leaves it out.- Report addresses are written as
mailto:addresses; anything that is not an email address is left out. - The note under the record flags a missing
rua, says whatp=nonedoes, and names any report address at another organisation that needs an authorisation record.
Common mistakes
- Moving to
quarantineorrejectbefore the reports show every service passing: mail from a forgotten sender is then filtered or refused. - Choosing strict alignment while a service sends from a subdomain, such as
news.example.comforexample.com. Strict needs the exact domain; relaxed accepts the same organisational domain. - Adding a second DMARC record instead of editing the first: receivers discard every record when they find two at the same name.
- Leaving out
rua: the policy still applies, but you never learn which senders fail.
What this generator does not check
- The other-organisation note compares the last two labels of each domain, three under suffixes like
co.uk. It can be wrong for other multi-part suffixes, so treat it as a prompt to check. - It does not look up whether that authorisation record exists, and does not read the DMARC record your domain already has. The DMARC Checker linked below reads it.
- Nothing is looked up or sent while you build the record: it is put together in your browser.