Part of the U-Suiteubuilder.aiusocials.aiusigs.aiucals.aiucards.ai
Home / Free tools / DMARC record generator

DMARC record generator

Your DMARC record
Type
TXT
Host / name
_dmarc
Value
v=DMARC1; p=none

⚠ Add a report address (rua). Without it you won't see who is sending email as your domain.

A DMARC record generator builds the DNS text record that tells inboxes how to handle email that fails SPF and DKIM checks for your domain. Choose your policy, subdomain policy, percentage, reporting addresses and alignment, and this tool writes the record for the host _dmarc, ready to copy. It runs in your browser.

How to use the dmarc record generator

  1. Choose a policy: none, quarantine or reject. Start with none if you are new to DMARC.
  2. Optionally set a different policy for subdomains.
  3. Enter an rua address for aggregate reports, and an ruf address for failure reports if you want them.
  4. Choose relaxed or strict alignment for DKIM (adkim) and SPF (aspf).
  5. Copy the TXT value and add it at your DNS host with the host name _dmarc.

What each part of the record means

A DMARC record is a TXT record published at _dmarc.yourdomain. It always starts with v=DMARC1 and must include a policy, p=. With p=none, receivers deliver mail as normal and only send you reports. With p=quarantine, mail that fails DMARC is treated as suspicious, usually sent to spam. With p=reject, it can be refused.

rua= is where receivers send daily aggregate reports, which show which servers sent mail as your domain and whether it passed. ruf= asks for reports on individual failures; many large mailbox providers do not send these. sp= sets a separate policy for subdomains; without it, subdomains follow p=. adkim= and aspf= set alignment: relaxed (r, the default) lets a subdomain such as mail.yourdomain.com match yourdomain.com, while strict (s) needs an exact match.

We leave out the old pct= tag, which applied the policy to only a share of failing mail. The updated DMARC specification drops it, so receivers may ignore it. A gradual rollout works better by moving from none to quarantine to reject as your reports come back clean.

The safe path: start at p=none with an rua address, read the reports for a few weeks, fix any genuine sender that fails, then move to p=quarantine and finally p=reject.

Worked example: Step 1, monitoring: v=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.com. After a few weeks the reports show 4,000 messages sent as your domain in a week, 3,960 of them (99%) passing from your real email tools and 40 (1%) failing from a server you do not recognize. You confirm that server is not yours. Step 2: v=DMARC1; p=quarantine; rua=mailto:dmarc@yourbusiness.com, so those 40 messages now go to spam. Step 3, when reports stay clean for a few more weeks: p=reject.
DMARC tags the generator can set
TagValuesWhat it does
vDMARC1Marks the record as DMARC. Always first.
pnone, quarantine, rejectPolicy for mail that fails DMARC
spnone, quarantine, rejectPolicy for subdomains (defaults to p)
ruamailto: addressWhere aggregate reports are sent
rufmailto: addressWhere failure reports are sent (optional, often not sent)
adkimr or sDKIM alignment, relaxed (default) or strict
aspfr or sSPF alignment, relaxed (default) or strict

Frequently asked questions

Where do I add a DMARC record?

At the company that hosts your domain's DNS, often your domain registrar. Add a TXT record with the host or name _dmarc (some hosts want _dmarc.yourdomain.com) and paste the value from the generator.

Should I start with p=reject?

Usually not. If any real sender, such as your newsletter tool or booking system, is not set up with SPF or DKIM yet, p=reject can block your own email. Start with p=none and an rua address, then tighten the policy once the reports look clean.

Will p=none protect my domain?

Not by itself. It tells receivers to take no action, so it does not stop spoofing. It does get you reports and meets Gmail's and Yahoo's requirement for bulk senders to have a DMARC record.

Do I need SPF and DKIM before DMARC?

DMARC depends on them. A message passes DMARC when SPF or DKIM passes for a domain that aligns with the From address, so set up at least one of them, ideally both, for every service that sends as you.

Can I have more than one DMARC record?

No. Publish exactly one TXT record starting with v=DMARC1 at _dmarc.yourdomain. If receivers find more than one, they treat the domain as having no DMARC policy.

Related free tools

See all free email marketing tools →

Do this automatically in umails

umails writes your newsletter with AI, runs these checks before every send and sends from your own domain. Free for up to 500 contacts.

Start free