DMARC Record Generator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free DMARC record generator. Choose a policy and report addresses to build a valid DMARC TXT record for _dmarc.yourdomain, with tips for moving to reject.

DMARC record (TXT)
Host / name
0
Record type
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the DMARC record generator

  1. Enter your domain.
  2. Choose a policy: none (monitor only), quarantine (send failing mail to spam) or reject (block it).
  3. Enter an address for aggregate reports (rua). These daily reports show who is sending email as your domain.
  4. Optionally, set a failure report address (ruf), a subdomain policy (sp), a percentage of mail to apply the policy to (pct), and strict or relaxed alignment for DKIM and SPF.

The DMARC record generator builds the TXT record and shows the exact host name to add it under (_dmarc.yourdomain). It leaves out tags that are already the default, to keep the record short, and checks the email addresses.

What DMARC is

DMARC (Domain-based Message Authentication, Reporting and Conformance) builds on SPF and DKIM. It does three things:

  1. Checks alignment: that the domain in the visible From address matches the domain authenticated by SPF or DKIM. This is what stops a scammer from passing SPF on their own domain while putting yours in the From line.
  2. Sets a policy: tells receiving servers what to do with mail that fails: nothing, spam folder or reject.
  3. Sends reports: daily summaries of everyone sending mail as your domain, and whether it passed.

Gmail and Yahoo require a DMARC record for bulk senders, and it's good practice for every domain that sends email.

What a DMARC record looks like

v=DMARC1; p=quarantine; rua=mailto:[email protected]

It's a TXT record on the host _dmarc.example.com.

Tag Meaning
v Version, always DMARC1, and always first
p Policy: none, quarantine or reject
sp Policy for subdomains (defaults to p)
rua Where to send aggregate reports
ruf Where to send failure (forensic) reports
pct Percentage of failing mail the policy applies to (default 100)
adkim DKIM alignment: r relaxed (default) or s strict
aspf SPF alignment: r relaxed (default) or s strict
fo When to send failure reports (default 0)

The three policies

  • p=none: monitor only. Mail is delivered as normal, and you get reports. Start here.
  • p=quarantine: failing mail goes to the spam or junk folder.
  • p=reject: failing mail is blocked outright. The strongest protection against spoofing.

Rolling out DMARC safely

Jumping straight to reject can block your own legitimate email if a service isn't set up correctly. The usual path:

  1. Set up SPF and DKIM for every service that sends your email. The SPF record generator builds SPF.
  2. Publish p=none with a rua address. Collect reports for two to four weeks.
  3. Read the reports. Find every legitimate sender (newsletter tools, CRMs, invoicing, help desk) and fix any that fail.
  4. Move to p=quarantine, optionally with pct=25, then 50, then 100.
  5. Move to p=reject once reports show your real mail passes.

Reading the reports

Aggregate reports arrive as XML files, which are hard to read by hand. Many people send them to a DMARC reporting service that turns them into charts. If the rua address is on a different domain from yours (for example, a reporting service), that domain must publish an authorisation record, which reporting services set up for you. The DMARC record generator reminds you of this when the domains differ.

Failure reports (ruf) give details of individual failing messages. Many large providers don't send them for privacy reasons, so most domains rely on aggregate reports.

Alignment: relaxed or strict

  • Relaxed (default): the domains only need the same organisational domain. Mail from news.example.com aligns with example.com.
  • Strict: the domains must match exactly.

Relaxed is right for almost everyone. Strict can break mail sent from subdomains.

Subdomain policy

Scammers sometimes spoof subdomains that don't exist, like billing.example.com. The sp tag lets you set a policy for subdomains. Many domains use sp=reject even while the main policy is still being tightened, if no subdomains send mail.

How to add the record

  1. Open your DNS provider's settings.
  2. Add a TXT record.
  3. Set the host/name to _dmarc (some providers need the full _dmarc.example.com).
  4. Paste the record as the value.
  5. Save. There should be only one DMARC record per domain.

Common mistakes

  • Starting with reject before checking reports, and blocking your own invoices or newsletters.
  • No rua address, so you fly blind.
  • Forgetting third-party senders that use your domain in the From line.
  • Two DMARC records, which makes DMARC fail.
  • Adding DMARC without SPF or DKIM: DMARC needs at least one of them to pass and align.

Tips

  • Use a dedicated mailbox for reports, as they can be numerous.
  • Review reports monthly even after you reach reject, to catch new services.
  • Add BIMI later: once you're at quarantine or reject, some mailbox providers can show your logo next to your emails.

Privacy and accuracy

Everything you enter stays in your browser. Nothing is uploaded or looked up. The DMARC record generator follows the DMARC specification (RFC 7489): it puts v and p first, omits tags that match the defaults, and validates report addresses, with no AI involved. Business owners, IT admins and email marketers use it free on any device.

DMARC for subdomains and parked domains

A DMARC record on example.com also covers subdomains unless they have their own record or you set sp. Domains you don't use for email should have the strictest setup: an SPF record of "v=spf1 -all" and a DMARC record of "v=DMARC1; p=reject". That tells receivers any email claiming to come from those domains is fake.

What changes for your email marketing

Once you move to quarantine or reject, every tool that sends email as your domain must be properly authenticated, or its messages may disappear. Before tightening the policy, make a list of every service that sends email for you: mailbox provider, newsletter platform, CRM, help desk, invoicing, e-commerce platform, booking system and website forms. Check each one in your DMARC reports.

How long until it works

DNS changes usually take effect within minutes to a few hours. Aggregate reports are typically sent once a day by each large mailbox provider, so expect the first reports one to two days after publishing the record from the DMARC record generator.

Quick reference

  • Alignment: the From domain matches the domain SPF or DKIM authenticated.
  • Policy (p): none, quarantine or reject.
  • Aggregate report (rua): a daily summary of mail sent as your domain.
  • Failure report (ruf): details of individual failures.
  • pct: the share of failing mail the policy applies to.
  • BIMI: a standard for showing your logo in inboxes, which needs DMARC at quarantine or reject.

A typical rollout timeline

Week Record
1 p=none with rua
4 p=quarantine; pct=25
6 p=quarantine (100%)
8+ p=reject

Adjust the pace to what your reports show. Each step is a small edit to the record you made with the DMARC record generator.

Who should own DMARC

DMARC touches marketing, IT and everyone who sends email for the business. Pick one person to own the record, read the reports and approve new email tools before they start sending as your domain. A simple rule, "no new sender until it's authenticated", keeps your DMARC policy working as the business grows. Keep a note of the record from the DMARC record generator and the date of each change.

A worked example

A marketing agency sends email from Google Workspace and a newsletter tool, and has already set up SPF and DKIM for both. The IT lead enters example.com, chooses p=none and sets rua to [email protected]. The DMARC record generator produces:

v=DMARC1; p=none; rua=mailto:[email protected]

to be added on _dmarc.example.com.

After three weeks of reports, she finds the agency's invoicing software sends as example.com but isn't authenticated. She adds it to SPF, waits another week, then changes the policy to quarantine at 50%: v=DMARC1; p=quarantine; pct=50; rua=mailto:[email protected]. A month later, with clean reports, she moves to p=reject.

Reach buyers while they are searching

Social posts reach people who follow you. Google Ads reaches people who are searching for what you sell, right now. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.

Frequently asked questions

What is a DMARC record?

A DNS TXT record on _dmarc.yourdomain that tells receivers what to do with email failing SPF and DKIM checks, and where to send reports.

Which DMARC policy should I start with?

p=none, with a rua address, so you can see who sends as your domain before enforcing anything.

Do I need SPF and DKIM for DMARC?

Yes. DMARC passes when SPF or DKIM passes and aligns with your From domain.

What is rua in DMARC?

The address where aggregate reports are sent. The DMARC record generator adds mailto: for you.

What does pct do?

It applies the policy to only a percentage of failing mail, for a gradual rollout.

Is the DMARC record generator free?

Yes, completely free, with no sign-up.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep