hello@wpfoss.com

Free DMARC record generator

Fill in the boxes and get the exact DMARC record to publish for your domain, with every part explained in plain English. It is made in your browser, so nothing is sent to us or stored.

The domain people see after the @ in your email address. Only used to show the host name to publish at.

What receivers should do with mail that claims to be from you but fails the checks.

Where receivers send a daily summary of who sent mail as you and whether it passed. Separate several with commas, up to five.

Copies of individual failing messages. Few big receivers send them, and they can contain private content, so most domains leave this blank.

A different policy for subdomains such as mail.example.com.

Relaxed lets a signature from a subdomain count. Strict needs an exact domain match.

The same choice for the SPF check.

1. Host name to publish at

2. TXT value

Add one TXT record with that host name and value at your DNS host. A domain may have only one DMARC record, so replace an existing one instead of adding a second. Afterwards, test it with the DMARC checker.

Made in your browser. Nothing is sent to WPfoss or stored.

How to use your DMARC record

What a DMARC record does

Anyone can type your domain into the From line of an email. DMARC is the public instruction you publish that tells other mail servers what to do when a message claims to be from you but does not pass your own checks. It builds on SPF and DKIM and adds two things they lack: a policy, and reports. The generator above turns your choices into the single line of text that carries both.

Start at none, and read the reports

The most common mistake with DMARC is jumping to reject on day one. Most businesses send email from more places than they remember: the mail host, a website contact form, an invoicing tool, a newsletter service, a helpdesk. If one of them is not set up properly, a strict policy treats its mail as forged. Publishing p=none first asks receivers to report without acting. After a few weeks the reports show every service that sends as your domain and which ones fail. Fix those, then move to quarantine, then to reject. Our guide to the three DMARC policies explains how long to stay at each step.

What each tag means

  • v=DMARC1 says this is a DMARC record. It always comes first.
  • p is the policy for your domain: none, quarantine or reject.
  • sp is the policy for subdomains. Leave it out and subdomains follow p.
  • rua is where the daily summary reports go, written as mailto: followed by an address.
  • ruf is where copies of single failing messages go. Few receivers send them.
  • pct limits the policy to a share of failing mail. It is left out when it is 100 or the policy is none.
  • adkim and aspf set how closely the signing and sending domains must match yours. Relaxed is the default, so the generator only writes them when you pick strict.

Where the record goes

Log in to wherever your domain's DNS is managed, often your registrar or hosting company, and add a record of type TXT. The name is _dmarc in front of your domain, and the value is the line the generator made. A domain can have only one DMARC record, so if one already exists, edit it. A second record makes receivers ignore both. DNS changes can take a few hours to be seen everywhere.

Sending reports to an outside address

If the report address is on a different domain from the one you are protecting, for example a reporting service, that service usually has to publish a small record saying it agrees to receive your reports. Reporting services tell you what to add. If you use a mailbox on your own domain, nothing extra is needed. Aggregate reports arrive as compressed XML files, which are hard to read by eye, so many businesses point them at a reporting service that turns them into a table.

After you publish

Test the record. The free DMARC checker reads your public DNS and tells you whether the record is found, valid and doing what you meant. To understand how DMARC sits alongside SPF and DKIM, read SPF, DKIM and DMARC explained. If you have not made your SPF record yet, the SPF record generator does it the same way.

When to ask for help

A record is only text. The hard part is knowing which services send as you, fixing the ones that fail, and moving to reject without losing real mail. If your email is how customers pay you, that work is worth doing carefully.

Want it done for you? We find every sender, fix the failures and tighten the policy in safe steps: Book a Security Review, or read how we handle domain and email security.

Check the whole domain at once with the domain security checker.

DMARC record generator questions

What should I put in the policy box?

Start with none. It changes nothing for your email and only asks receivers to send you reports. Once the reports show that every legitimate sender passes, move to quarantine and later to reject.

Where do I publish the record the generator makes?

In your DNS, as a TXT record. The host name is _dmarc followed by your domain, for example _dmarc.example.com. Some DNS hosts want only _dmarc in the name box because they add the domain themselves.

Do I need a report address?

Not to make the record work, but without one you are flying blind. The aggregate reports (rua) are how you find out which services send mail as your domain and whether they pass. Use a mailbox or a reporting service you will actually read.

What does the percentage do?

It applies your policy to only that share of failing mail while you build confidence. It only matters for quarantine and reject, so the generator leaves it out when the policy is none or the value is 100.

Can I break my email by publishing a DMARC record?

Not with p=none, which only asks for reports. Quarantine and reject tell receivers to act on mail that fails, so moving to them before every legitimate sender is set up can send your own invoices to spam or bounce them.

Should I choose relaxed or strict alignment?

Relaxed is the default and suits almost everyone, because it lets mail from your subdomains line up with your main domain. Strict demands an exact match and breaks setups that send from subdomains, so choose it only when you know you need it.

Does this tool see or store my domain?

No. The record is built by your own browser. There is no server call, so nothing is sent to WPfoss and nothing is saved.

Publishing the record is the easy part. Tightening it safely is not.

We read your reports, find every service that sends as your domain, fix the ones that fail, and move you from none to reject without losing a single invoice.