DMARC record generator

Choose what should happen to email that fails your checks and where the reports go, then copy the DMARC record and the host name to add at your DNS provider.

Free tool Writes the record from your choices. No sign-up.

Email that fails SPF and DKIM should

For subdomains

Run it from your AI agent

This is also a Hermoso tool your agent can call, free, as often as it needs, for example on every domain in a lead list before a campaign. Paste this into Claude Code, Codex or Cursor once:

Set up Hermoso for me. It is an AI marketing tool (hermoso.ai) that researches ads, makes image and video ads and posts to my social accounts.
1. Install it by running: claude plugin marketplace add hermoso-ai/hermoso && claude plugin install hermoso@hermoso
   If the new skills only load after a restart, tell me, and use npx meanwhile.
2. Sign me in by running: npx -y hermoso auth login
   It opens my browser and I will approve the connection there. If this machine has no browser, ask me for a Hermoso API key and run npx -y hermoso auth login --token <key> instead.
3. Once I am signed in, do one small task to show it works: tell me my Hermoso credit balance and which profile is saved.
4. Then set up my brand from my website and make my first ad.

Then ask it: “Hermoso, write a DMARC record for example.com that sends reports to dmarc@example.com”

In ChatGPT or Claude, connect Hermoso from hermoso.ai/mcp and ask the same thing. The tools are check_domain_email_health, check_email_address, generate_dns_record and check_spam_words, and they work over the API and CLI too.

How to use it

  1. Type your domain and the address that should receive the daily reports. It can be a normal mailbox or a reporting service’s address.
  2. Choose the policy. Start with none: nothing is blocked and the reports show you every service that sends as your domain.
  3. Copy the record and add it as a TXT record with the host name shown, _dmarc.yourdomain.com.

From none to reject

Read the reports for two to four weeks. When every service you use passes SPF or DKIM with your domain, change the policy to quarantine, and later to reject. Test mode (t=y) is the gentle step between: receivers apply your policy one level softer while you watch the reports. It replaces the old pct= tag, which the current DMARC standard (RFC 9989, May 2026) retired.

Alignment, in plain words

DMARC passes when SPF or DKIM passes for a domain that matches the one in the From line. Relaxed alignment, the default, accepts a subdomain of yours; strict alignment wants the exact same domain. Relaxed suits almost everyone.

Reports to another domain

If the report address is on a different domain, that domain must publish a record saying it accepts your reports. Reporting services do this for you when you sign up. The generator reminds you when it applies.

After publishing, check it with the DMARC checker, and make sure SPF and DKIM pass with the SPF, DKIM and DMARC checker.

Sending from your own mailbox? Hermoso writes and sends one-to-one emails and timed follow-ups from your own mailbox, stops a sequence when someone replies, and never adds a tracking pixel.

Free tools: DMARC checker · SPF record generator · SPF, DKIM and DMARC checker

Frequently asked questions

How do I create a DMARC record?

Choose a policy and a report address on this page and copy the record. Add it as a TXT record at _dmarc.yourdomain.com at your DNS provider.

What is a good first DMARC record?

v=DMARC1; p=none; rua=mailto:you@yourdomain.com. It blocks nothing and sends you reports, so you can see who sends as your domain before tightening it.

Where do I add the DMARC record?

At your DNS provider, as a TXT record with the host name _dmarc (some providers want _dmarc.yourdomain.com). A domain may have only one DMARC record.

What is the difference between quarantine and reject?

Quarantine asks receivers to put failing mail in spam; reject asks them to refuse it outright.

Is this DMARC generator free?

Yes, and it needs no account.

Hermoso makes the ads, sends the follow-ups and posts to every channel from one place. Start free, no card.

Start free →   See pricing