---
title: "DMARC Record Generator: Create a DMARC Policy"
description: "Free DMARC record generator. Pick a policy, report addresses and alignment, and copy a valid v=DMARC1 TXT record with a plain-English summary of what it does."
canonical_url: "https://smtp.dev/tools/dmarc-generator/"
---

> Index of every page on this site: [llms.txt](https://smtp.dev/llms.txt)

## How to use the DMARC generator

1. Enter your domain.
2. Pick a policy. For a domain that has never had DMARC, use `none`.
3. Add an address for aggregate reports. A dedicated mailbox or a DMARC report service works; your personal inbox will fill up with XML.
4. Leave the advanced options at their defaults unless you know you need them.
5. Copy the record and publish it as a TXT record on `_dmarc`.

## A rollout that does not break mail

```txt
v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com
```

Wait for a couple of weeks of aggregate reports. Every source IP that sends as you should show SPF or DKIM passing **and aligned**. Fix the ones that do not, usually by setting up a custom DKIM domain and return-path with each email service.

```txt
v=DMARC1; p=quarantine; pct=0; t=y; rua=mailto:dmarc-reports@example.com
v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com
v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com
```

**Test mode** adds `t=y` and `pct=0`, so receivers apply the next weaker policy while you watch for problems: `t=y` for receivers on RFC 9989, `pct=0` for those still on RFC 7489. Turn it off once you are confident.

## Mistakes the generator avoids

- **Forgetting mailto:.** Addresses are prefixed automatically.
- **Tag order.** `v=DMARC1` comes first and `p=` second.
- **Redundant tags.** Defaults such as `adkim=r` and `aspf=r` are left out to keep the record short.
- **fo= without ruf=.** The option only appears when you ask for failure reports.

## After publishing

Run the [DMARC checker](https://smtp.dev/tools/dmarc-lookup/) to confirm the published record, including whether an outside report address has authorized your domain. Then send a message to a mailbox you can inspect and check the `Authentication-Results` header for `dmarc=pass`.

## Sitemap

See the full [sitemap](https://smtp.dev/sitemap.md) for all pages.
