Build your DMARC record, step by step

Answer a few questions about your domain and get a DMARC record you can paste into your DNS. Each choice says what it does, so you know what you are publishing.

Free, no sign-up

How to use the DMARC generator

  1. 1. Pick a policy

    Start with "monitor only" unless every service that sends for you already passes SPF or DKIM.

  2. 2. Add a report address

    Daily reports show who sends as your domain. Use an inbox you read, or a DMARC report service.

  3. 3. Publish the record

    Add a TXT record named _dmarc at your DNS provider with the value shown, then check it with the DMARC checker.

Before you publish

A DMARC record is one TXT record at _dmarc.your-domain. Publishing it cannot break anything as long as the policy is p=none: receivers keep delivering exactly as before, and start sending you reports. That is why every rollout starts there.

Make a list of everything that sends email as your domain before you go further: your mailbox provider (Google Workspace, Microsoft 365), your store platform (Shopify order emails), your newsletter tool (Klaviyo, Mailchimp, Omnisend), your helpdesk, invoices, booking systems. The reports will show the ones you forgot.

The choices in this generator

  • Policy (p=): what receivers do with mail that fails both SPF and DKIM alignment. none delivers it, quarantine sends it to spam, reject refuses it.
  • Subdomain policy (sp=): the same for anything.your-domain. Leave it unset to copy the main policy; set it to reject if you never send from subdomains.
  • Percentage (pct=): apply the policy to part of the failing mail only. Useful as a ramp from none to quarantine; leave it at 100 otherwise.
  • Aggregate reports (rua=): where daily XML reports go. Without it you cannot see which senders fail.
  • Alignment (adkim=, aspf=): relaxed lets mail.your-domain count for your-domain; strict needs an exact match. Relaxed is right for almost everyone.
  • Failure reports (ruf=, fo=): copies of single failing messages. Few receivers send them, and they may contain personal data, so most domains leave them out.

A rollout that does not lose mail

Week 0: publish p=none with a rua= address. Weeks 1–4: read the reports and fix every legitimate sender that fails, by adding its SPF include or setting up its DKIM on your domain. Week 5: move to p=quarantine, perhaps with pct=25, then 50, then 100. A month later, when the reports stay clean, move to p=reject.

Do not jump straight to reject on a domain that sends mail. If one forgotten service, say the invoicing system, does not pass, its mail disappears without a bounce you would notice.

A domain that never sends

Parked domains and old brand domains are easy targets for spoofing, because nobody watches them. Give them the strict record straight away: v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s, together with an SPF record of v=spf1 -all. Choose "No, never" under "Does this domain send email?" in the generator for exactly that.

Where reports should go

Reports arrive as zipped XML, one per receiver per day; a store sending a few thousand emails gets a handful daily. You can read them with a free parser, send them to your DMARC service, or point them at Verifinch: a monitored domain gets a report address of its own, and the reports turn into pass and fail numbers per sender.

If the report address is on a different domain than the one you protect, that domain must publish a small authorisation record. Report services set that up for you; for your own second domain, add it yourself, or the reports never arrive. Google, Yahoo and Microsoft all send them.

Monitor this daily

Know your domain passes Gmail and Yahoo's rules. Sender health →

Start free

Questions

Can a DMARC record break my email?

Not with p=none: nothing changes for delivery. Quarantine and reject can, if a service that sends for you fails SPF and DKIM. Read the reports before you tighten.

Do I need SPF and DKIM first?

You need at least one of them to pass and align for each sender, or DMARC fails that sender. Publishing p=none first is still fine: the reports tell you what is missing.

What TTL should I use?

Anything from 5 minutes to an hour. A short TTL makes changes show up faster while you are adjusting the policy.

More free tools

  • Email verifier

    One address: deliverable, risky or undeliverable, and why.

  • DMARC checker

    Reads a domain's DMARC record, explains the policy and gives the fix.

  • SPF checker

    Reads a domain's SPF record, follows its includes and counts the 10 lookups.

  • DKIM checker

    Finds a domain's DKIM keys (common selectors tried) and checks each one.

  • Blocklist checker

    Checks an IP or a domain against Spamhaus and other public blocklists.

  • Spam test

    Send a campaign to a test address and get its spam score and what to fix.

  • Subject line tester

    A score out of 100, what to fix first and the checks behind it.