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.
Policy for failing mail
Subdomain policy
Advanced options
DKIM alignment
SPF alignment
- 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
Choose a policy
Start with None to collect reports, then Quarantine, then Reject.
- 2
Add a report address
Enter the mailbox or reporting service address for aggregate reports (rua).
- 3
Adjust options if needed
Set a subdomain policy, a percentage or strict alignment under Advanced.
- 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.
Related tools
- DMARC Record CheckerFinds and validates a domain’s DMARC policy, report addresses and alignment settings.
- SPF Record GeneratorBuilds a valid v=spf1 TXT record from your mail servers, email services and IP ranges.
- DKIM Record CheckerFinds a domain’s DKIM public key by selector and checks its tags, key type and key size.
People also use
- Phishing URL CheckerCheck a suspicious link for phishing tricks such as look-alike brand names and punycode, without opening it.
- SSH Key GeneratorMake an Ed25519 or RSA SSH key pair in OpenSSH format, with its fingerprint, without installing anything.
- 2FA / TOTP Code GeneratorGet 6-digit 2FA codes from a secret or QR code, create test secrets and check codes, all in your browser.
- Bcrypt & Argon2 Hash GeneratorCreate and check bcrypt and Argon2 password hashes, with parameters compared to OWASP guidance.
Last updated November 22, 2026 · How we build and test our tools