DMARC record generator
Fill in a short form and get a correct DMARC TXT record, the exact host name to publish it on, and warnings about common mistakes.
Separate several report addresses with commas. Tags left at their default value are omitted to keep the record short.
| Type | TXT | |
|---|---|---|
| Host / name | ||
| Value |
Runs in your browser. Nothing is sent to Dizo.
How to use it
- Enter your domain. The host name becomes
_dmarc.yourdomain.com. - Pick a policy. Start with
noneif you have never had DMARC, so you can read reports before anything is blocked. - Add an address for aggregate reports (
rua). Use a mailbox or a reporting service that can parse XML reports. - Leave alignment relaxed unless you know every sender signs and bounces with your exact domain.
- Copy the host and the value into a new TXT record at your DNS provider, then confirm it with the DMARC checker.
What the DMARC tags mean
A DMARC record is a TXT record on _dmarc. plus your domain. It must start with v=DMARC1 and the next tag must be p. p is the policy for mail that fails: none (deliver and report), quarantine (treat as suspicious, usually the spam folder) or reject (refuse it). sp sets a different policy for subdomains; without it, subdomains inherit p.
rua lists where receivers send daily aggregate reports, as mailto: addresses separated by commas. ruf asks for per-message failure reports, which few large providers send. adkim and aspf choose relaxed (r) or strict (s) alignment. fo decides when a failure report is generated, and ri is the requested report interval in seconds, 86400 by default. pct applies the policy to a share of failing mail. See the DMARC glossary entry for the bigger picture.
Alignment, explained with an example
DMARC passes when SPF or DKIM passes and the domain it authenticated lines up with the visible From domain. Say your From address is news@example.com. Your email platform signs with DKIM d=mail.example.com and bounces through bounce.example.com. With relaxed alignment both line up, because they share the organizational domain example.com. With strict alignment neither does, so the message fails DMARC even though SPF and DKIM themselves passed.
That is why relaxed is the safe default. Switch to strict only after the aggregate reports show every legitimate source authenticating with the exact From domain.
A safe rollout and common mistakes
A typical path: publish p=none with rua, read reports for a few weeks, fix each legitimate sender's SPF or DKIM, move to p=quarantine, optionally with pct=25 then pct=100, and finish at p=reject. Skipping straight to reject is how companies block their own invoices and password resets.
Frequent errors: publishing two DMARC records (receivers then ignore both), forgetting mailto: before an address, sending reports to another domain without that domain publishing the _report._dmarc authorization record, and leaving sp=none on an enforced domain, which leaves every subdomain open to spoofing. The generator warns about each of these.
FAQ
Which policy should I start with?
Start with p=none and a rua address. It changes nothing about delivery but shows you every service sending as your domain. Move to quarantine once the reports show your real senders passing.
Do I need SPF and DKIM before DMARC?
DMARC only works on top of them. A message needs an aligned SPF pass or an aligned DKIM pass. Set up at least one for every sender; DKIM is the sturdier of the two because it survives forwarding. Build SPF with the SPF record generator.
Why are some tags missing from my record?
Tags at their default value (pct=100, adkim=r, aspf=r, fo=0, ri=86400, and sp equal to p) mean the same thing whether written or not, so the generator leaves them out.
How do I check the record after publishing?
DNS changes can take up to the record's TTL to show. Then run the DMARC checker, or look up _dmarc.yourdomain.com as a TXT record in the DNS record lookup.
Related tools
DMARC record checker
Fetches the _dmarc TXT record for a domain, explains each tag and rates how well the policy stops spoofed mail.
SPF record generator
Tick the services that send mail for your domain, add your own servers and IP ranges, and get a ready-to-publish SPF TXT record.
DKIM record checker
Enter a domain and a DKIM selector to fetch the public key, check its type and length, and flag common problems.
BIMI record checker
Fetch a domain's BIMI record, see its logo and certificate URLs, and check that DMARC is at the enforcement level BIMI depends on.