Skip to content
toolstome

DMARC record generator

Create the DMARC record that tells receiving mail servers what to do with email that fails SPF and DKIM for your domain, and where to send reports. Choose a policy, add the address that should receive aggregate reports, and optionally set a different policy for subdomains, a percentage for gradual rollout, strict alignment and failure-report options. The generator writes only the tags you need, leaves out defaults, checks every address, and shows the host name and record type to enter at your DNS provider.

Free · No sign-upProcessed in your browser

Policy for failing mail

Subdomain policy

Advanced options

DKIM alignment

SPF alignment

Failure report when
Host
_dmarc
Type
TXT
  • Warningp=none only monitors and does not stop spoofed mail.
  • WarningAdd a rua address so you receive reports before tightening the policy.

Move from none to quarantine to reject over a few weeks, reading the reports at each step.

How to use the DMARC Record Generator

  1. 1

    Choose a policy

    Start with None to collect reports, then Quarantine, then Reject.

  2. 2

    Add a report address

    Enter the mailbox or reporting service address for aggregate reports (rua).

  3. 3

    Adjust options if needed

    Set a subdomain policy, a percentage or strict alignment under Advanced.

  4. 4

    Publish

    Create a TXT record with host _dmarc and the generated value.

When to use it

  • Publish a first monitoring-only DMARC record to start receiving reports.
  • Move a domain from p=none to quarantine or reject step by step.
  • Meet the Gmail and Yahoo bulk-sender requirement to have a DMARC record.

Limits

  • SPF or DKIM must already be set up and aligned, or a quarantine or reject policy will block your own mail.
  • Report addresses on another domain need an authorization record on that domain; reporting services usually publish it.
  • Only one DMARC record may exist at _dmarc for each domain.

Privacy

The record is built in your browser. Nothing you enter is sent anywhere.

Frequently asked questions

What should my DMARC policy be?

Start with p=none and a rua address to collect reports, fix any legitimate senders that fail, then move to p=quarantine and finally p=reject.

What does p=none do?

Nothing to the mail: receivers deliver it as usual and only send reports. It is for monitoring and gives no protection against spoofing.

What are rua and ruf?

rua is where receivers send daily aggregate reports (XML summaries). ruf is for failure reports about single messages, which few large providers send.

What is alignment?

DMARC passes only if SPF or DKIM passes for a domain that matches the visible From domain. Relaxed alignment allows subdomains; strict needs an exact match.

Do I need SPF and DKIM for DMARC?

You need at least one that passes and aligns. Set up both, because forwarding often breaks SPF while DKIM survives.

What host name do I use?

Create a TXT record named _dmarc for your domain, such as _dmarc.example.com. Many DNS hosts want only _dmarc in the host field.

People also use

Last updated November 22, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More