DMARC record generator
Build a DMARC record with the policy, subdomain policy, reporting addresses and alignment you choose, with each tag explained in plain words.
Last updated 2026-11-11 · Verified 2026-11-11 by the Sendly team
Generate it from a script
The generator is a free HTTP endpoint too: no sign-up, no key, CORS open. OpenAPI description.
curl "https://sendly.now/api/tools/dmarc-generator?p=none&rua=dmarc%40example.com"
# Markdown instead of JSON:
curl -H "Accept: text/markdown" "https://sendly.now/api/tools/dmarc-generator?p=none&rua=dmarc%40example.com"Before you publish
- Make sure your mail passes SPF or DKIM with your own domain; DMARC checks alignment with the From address.
- Publish the record as TXT at _dmarc.<your domain>, replacing any existing one.
- Check it with the DMARC checker, and read the aggregate reports before tightening the policy.
What the result means
The record is the TXT value to publish at _dmarc, with each tag explained under it. p= is what receivers do with mail that fails: none delivers it and reports, quarantine sends it to spam, reject refuses it. sp= does the same for subdomains without a record of their own, and pct= applies the policy to only that share of failing mail, which is how a domain moves to reject in steps. rua= is where the daily aggregate reports go; without it you are enforcing blind. The alignment tags stay relaxed unless you know a subdomain should not count as you. A warning appears when the record asks for enforcement without any report address, or sends reports to another domain that has to authorize them first.
Questions people ask
- Which DMARC policy should I start with?
- p=none with a rua address. It changes nothing about delivery and the reports show every service sending as your domain. Once your own mail passes, move to p=quarantine, then p=reject.
- Where do I publish the DMARC record?
- As a TXT record at _dmarc.yourdomain.com (the host is _dmarc in most DNS panels). Subdomains without their own record inherit it.
- What is the difference between relaxed and strict alignment?
- Relaxed (the default) passes when the SPF or DKIM domain shares the From domain's organizational domain, so mail.example.com aligns with example.com. Strict requires an exact match.
If a provider rejects what this page generated, paste the record and the error into an email to support@sendly.now and we will help find the term it objects to. Record syntax for sending domains is covered in the documentation.