Free DMARC generator

DMARC record generator

This DMARC record generator writes a correct DMARC record for your domain in seconds. DMARC tells Gmail, Outlook and other inboxes what to do with fake email sent in your name, and each choice below is explained so you won’t block your own email by accident.

Just the domain, like yourcompany.com. No www or https:// needed.

Gmail, Outlook and others can email you daily reports showing who sends email as your domain. Leave it empty and you just won't get them. You'll want them before you choose Send to spam or Block. Use a spare inbox: busy domains get several a day.

What should inboxes do with fake email that uses your domain?

Subdomains, like news.yourcompany.com

Most people leave this on Same as above. Only change it if a subdomain needs different rules.

Roll out

Your record

Add this record to your DNS

  1. Sign in where your domain's DNS is managed. That's usually the company you bought the domain from, such as GoDaddy or Namecheap, or Cloudflare if you've moved your DNS there.
  2. Open the DNS settings for yourcompany.com. The page may be called DNS, DNS records, Manage DNS or Advanced DNS. If there's already a TXT record named _dmarc, edit that one instead: replace its value with the one below, save, and you're done. A domain can only have one DMARC record.
  3. Choose Add record, and set Type to TXT.
  4. Copy the Name below into Name. If your provider adds .yourcompany.com on the end by itself, that's fine. If it asks for the full name, use _dmarc.yourcompany.com
  5. Copy the Value below into Value, leave TTL as it is, and save.

It works the same at every DNS provider, such as Cloudflare, GoDaddy, Namecheap, Squarespace or 123 Reg. Only the words change: Name may be called Host, Value may be called Content, Text or TXT value, and TTL may say Automatic or 1 hour.

Your record. It updates as you change the options above.

TypeNameValueTTL
TypeTXT
Name_dmarc
Valuev=DMARC1; p=quarantine
TTLAuto

Added it? Check it's in your DNS

Press Check now after you save the record. Most DNS providers publish it within minutes, sometimes up to an hour.

See the full DMARC check

Tools for this job

Sponsored

EasyDMARC

Reports pile up fast. EasyDMARC can receive them for you and turn them into a dashboard.

Visit EasyDMARC

Sponsored

Premium Inboxes

Setting up new sending domains? Premium Inboxes adds SPF, DKIM and DMARC for you and loads the inboxes into your sending tool.

Visit Premium Inboxes

What goes in a DMARC record

A DMARC record is a list of short tags separated by semicolons. Only two are required; the generator adds the rest when they help.

TagNeeded?What it does
vRequiredVersion. Always DMARC1, and always first.
pRequiredPolicy for your main domain: none, quarantine or reject.
ruaRecommendedWhere daily summary reports are sent.
spOptionalPolicy for subdomains. Follows p if left out.
pctOptionalShare of failing mail the policy applies to. Defaults to 100.
adkim, aspfOptionalHow closely DKIM and SPF must match your From address: r for relaxed (the default) or s for strict.
rufRarely usedDetailed failure reports. Most inboxes no longer send them, so the generator leaves it out.

DMARC record generator questions

Wherever your domain’s DNS is managed, usually your domain registrar or Cloudflare. Add a TXT record with the name _dmarc and paste the value.

No. Two records cancel each other out and inboxes ignore both. If one already exists, edit it instead of adding another.

A mailbox set aside for them, or a reporting service. Don’t use your personal inbox: busy domains get several reports a day.

When your reports show that every service sending as you passes SPF or DKIM. Go via quarantine first, then reject.

Step-by-step fix guides: DMARC policy not enabled · No DMARC record found