DMARC Record Generator

Build the TXT record

Live preview

Defaults are a monitoring policy: p=none, relaxed alignment, and pct at 100. Change a field and the record updates. Nothing is published for you, and you do not need an account to copy it.

The TXT host is _dmarc.example.com. If your DNS panel appends the zone, enter only _dmarc.

Optional. One mailbox you control. Reports are how you see which servers send as you.

Policy

100 applies the policy to all mail. A lower number is not a reliable way to roll out, and newer receivers can ignore it.

Relaxed passes when the authenticated domain shares your organizational domain. Strict requires the same domain. Leave both relaxed unless you know you need strict.

DNS type: TXT · Host: _dmarc.example.com

v=DMARC1; p=none

  • Note

    Enter your domain to fill in the TXT host name.

  • Note

    p=none asks for reports and does not ask receivers to quarantine or reject mail. It is the right first policy and a weak one to leave in place.

  • Note

    No rua address is included, so aggregate reports are not requested. Add a mailbox you control if you want them.

  • Note

    Relaxed DKIM alignment passes when the signing domain shares an organizational domain with the From address.

  • Note

    Relaxed SPF alignment passes when the MAIL FROM domain shares an organizational domain with the From address.

Recommended rollout

  1. none. Publish p=none with an rua address. Read reports until every legitimate sender passes SPF or DKIM and aligns.
  2. quarantine. Change p to quarantine. Watch the next reports for mail you still want delivered.
  3. reject. Change p to reject only after quarantine stays clean. Keep one record at _dmarc and edit it in place.

Check a record that is already published with the DMARC checker, and the other two with the SPF checker and the DKIM checker.

Free DMARC record generator. Choose a policy, report address, percentage and alignment, then copy the TXT record for _dmarc.

No signup requiredPublic DNS records, explained

Look up a published policy with the DMARC checker. Build the SPF record with the SPF record generator.

A policy for mail that fails authentication.

A DMARC lookup reads the TXT record at _dmarc.yourdomain. DMARC ties the visible From domain to SPF or DKIM. A message can pass when either one passes and aligns with that From domain. An SPF pass by itself does not establish alignment. The lookup on this page comes first. The tag breakdown under the record explains what is published.

What each tag is asking for

p is the policy: none, quarantine or reject. sp is the policy for existing subdomains, and it falls back to p when it is absent. rua is where aggregate reports should go. ruf asks for per-message failure reports, which many receivers send rarely. adkim and aspf choose relaxed or strict alignment. The default is relaxed. fo says when to send a failure report, and receivers ignore it unless ruf is set.

pct is historic. RFC 9989 removed it because receivers applied a percentage unevenly. A value below 100 is not a reliable way to roll a policy out. The current testing signal is t=y, which asks receivers to apply a policy one step weaker than the one you published. It does nothing while the policy is none.

The path from none to reject

p=none is monitoring only. It asks receivers not to quarantine or reject mail because of DMARC, and to send reports if you set rua. DNS does not say how long that record has been published. Leave it there while you read reports and fix senders that fail. Then move to p=quarantine, and to p=reject only after your own mail passes and aligns. Publishing p=reject first can drop real mail. The generator on this page builds the monitoring record. It does not publish DNS for you.

Warnings this lookup can raise

No rua address means you will not get aggregate reports. More than one DMARC record at the same name is an error. A record on the domain itself, or at dmarc without the underscore, is on the wrong host. Receivers read _dmarc. Bad syntax, a p value other than the three policies, and pct below 100 are called out in the result. A report address on another domain needs an authorization record. This page does not check that record: DMARC rua shows what it looks like. If nothing was found at all, read DMARC record not found.

If the name you entered has no policy, the checker looks at the organizational domain using the public suffix list. That is the method from the older spec. RFC 9989 uses a DNS tree walk, so a receiver on the new spec can choose a different name. Publish the record on the domain you actually send from.

Know what was checked

This tool checks the published record. It does not authenticate a message or confirm inbox placement. Check the other two records with the SPF checker and the DKIM checker. What is DMARC is the longer explanation, and SPF, DKIM and DMARC explained is the short map of the three. The current specification is RFC 9989.

What the result does and does not mean.

What is a DMARC record generator?

A DMARC record generator builds the TXT value you publish at _dmarc.yourdomain. This one starts from v=DMARC1 and adds the policy, an optional rua report address, pct when it is not 100, and adkim or aspf when you choose strict alignment. It does not publish DNS for you, and it does not send a test message.

What does a generated DMARC record look like?

A monitoring record looks like v=DMARC1; p=none; rua=mailto:dmarc@example.com. The host name is _dmarc.example.com. Some DNS panels append the zone, so the name field is only _dmarc. Publish one record at that name. A second v=DMARC1 record is not a second policy receivers merge.

Should a new DMARC policy be none, quarantine or reject?

Start with p=none and an rua address you control. Read the aggregate reports until every legitimate sender passes SPF or DKIM and aligns. Then change p to quarantine. Move to p=reject only after reports stay clean. none asks for reports and does not ask receivers to quarantine or reject mail. quarantine and reject do.

What is a DMARC rua address?

rua is where aggregate XML reports should be sent, written as rua=mailto:you@example.com. Use a mailbox or a reporting service you control. A destination on a different domain may need an external reporting authorization record before reports arrive. Leave rua empty only if you do not want reports yet.

What do DMARC alignment and pct change?

Relaxed alignment (the default, r) passes when the authenticated domain shares the organizational domain with the From header. Strict alignment (s) requires the same domain. adkim applies to DKIM and aspf applies to SPF. pct below 100 asks receivers to apply the policy to only that percentage of mail. It is not a reliable rollout, and RFC 9989 removed the tag. Leave pct at 100.

From DNS records to your first send.

Send transactional emails, build templates and receive replies on your own domain. 3,000 emails a month free.

Start sending free →