DMARC record generator
Your record
- Name
- _dmarc
- Type
- TXT
- Value
v=DMARC1; p=none
- Pass
p=none: monitoring only
Receivers report on your mail but treat it no differently. Start here, read the reports for a few weeks, then move to quarantine, and to reject once nothing you send fails.
- Warning
No report address
Without rua, nobody sends you reports, so you cannot see what sends mail as your domain. You need them before moving past p=none.
Fix: Add an address that can take a daily report, such as dmarc-reports@ at your domain.
The record is built on this page, in your browser. Nothing you type here is sent to us.
Check it Once the record is live, the DMARC checker reads it from public DNS.
DMARC builds on SPF and DKIM, so a domain that sends mail should publish both. Build the other with the SPF record generator.
The short answer
This DMARC record generator builds the TXT record that tells receivers what to do with mail that fails SPF and DKIM alignment, and where to send reports. Start with p=none and a report address, read the reports, then move to quarantine and reject. Publish the record at _dmarc on your domain.
By The Rasket Team · Last updated
Each field, explained
- Domain
- The domain you send mail from. The record goes at _dmarc on it, which most DNS hosts want as just _dmarc. Leave it empty and the record is written for _dmarc.
- Policy (p)
- What receivers do with failing mail: none only reports, quarantine treats it as suspicious, reject refuses it. Start with none.
- Subdomain policy (sp)
- A different policy for your subdomains. Receivers apply it from the record at your main domain, to subdomains that have no record of their own. Left out when it matches the policy.
- Percentage (pct)
- The share of failing mail the policy applies to, for receivers that follow RFC 7489; receivers on RFC 9989 ignore it. It can be set only while a policy enforces, and is left out at 100.
- DKIM alignment (adkim)
- Relaxed accepts a signature from a subdomain of yours; strict needs your exact domain. Left out when relaxed.
- SPF alignment (aspf)
- Relaxed accepts a return path on a subdomain of yours; strict needs your exact domain. Left out when relaxed.
- Report addresses (rua)
- Where daily reports go, separated by commas or spaces. An address at another domain needs that domain to publish a record accepting your reports.
- This domain already has a DMARC record
- Tick it to be reminded to replace that record with this one rather than add a second.
How to read the result
- Pass
- This part of the record is ready to publish.
- Warning
- The record works, but read the note: it may not do what you expect.
- Fail
- Fix this before you publish. The entry is not valid and is left out of the record.
Build a DMARC record
- 1Enter your domain. Type the domain you send mail from, like example.com.
- 2Choose the policy. Keep p=none to start. It changes nothing about delivery and turns on the reports.
- 3Add a report address. Enter an address that can take a daily report, such as dmarc-reports at your domain.
- 4Publish the record. Copy the value into one TXT record at _dmarc on your domain, replacing any DMARC record already there.
- 5Check it. Once it is live, run it through a DMARC checker, and raise the policy when the reports are clean.
Common problems and fixes
| Problem | Why it happens | Fix |
|---|---|---|
| Starting at p=reject | Mail from a service you forgot is refused before any report shows it to you. | Start at p=none with a report address, and move up once the reports are clean. |
| No report address | Without rua nobody sends reports, so you cannot see what fails. | Add an address that can take a daily report. |
| Reports to another domain never arrive | Receivers send reports to another domain only when that domain accepts them. | Ask whoever runs that domain to publish the _report._dmarc record the generator shows. |
| The record is at the wrong name | It was published at the domain itself instead of _dmarc, or with the domain typed twice. | Publish it at _dmarc, which is the host name most DNS hosts want, not the full domain. |
| Two DMARC records | A second record was added instead of the first one being edited. | Keep one record at _dmarc. With two, receivers apply neither. |
Frequently asked questions
What is a DMARC record?
A DMARC record is a TXT record at _dmarc on your domain. It tells receivers what to do with mail that claims your domain but fails SPF and DKIM alignment, and where to send reports.
Should I start with p=none?
Yes. p=none changes nothing about delivery and starts the reports, which show every service sending as your domain. Move to quarantine once they all pass, then to reject.
What is the difference between quarantine and reject?
With quarantine, receivers treat failing mail as suspicious, usually by putting it in spam. With reject, they refuse it during delivery, so it never reaches the recipient at all.
What does pct do?
pct asks receivers that follow RFC 7489 to apply the policy to only part of the failing mail. RFC 9989, which replaced it, ignores pct, so treat any value as possibly 100.
What are relaxed and strict alignment?
Relaxed alignment accepts an SPF or DKIM domain from the same organisation, such as a subdomain. Strict alignment needs exactly the domain in the From address. Relaxed is the default and suits most senders.
Can reports go to an address at another domain?
Yes, if that domain publishes a record accepting reports for yours. The generator shows the record its owner needs to add, named after your domain and theirs.
Is anything I type sent to Rasket?
No. The record is built in your browser as you type. Nothing in the form is sent to us, and our analytics do not record it.
Sources
3 primary sources, each read on the date shown.
See all sourcesHide sources
Keep reading
- GuideDMARC p=reject: move from p=none safelyMove DMARC from p=none to p=reject without losing mail: read aggregate reports, align every sender with DKIM, quarantine, then reject, and roll back fast.
- GlossaryDMARCDMARC tells receiving servers what to do with mail that claims to be from your domain but fails DKIM and SPF. You publish one TXT record naming a policy, none, quarantine or reject, and an address for the reports. It also demands alignment: the domain that passed authentication has to match the one a reader sees in the From header.
- GlossaryDMARC alignmentAlignment is the part of DMARC that asks whether the domain that passed authentication is the same one the reader sees. A DKIM signature or an SPF check can pass for a domain that has nothing to do with the From header, and on its own that proves nothing. Alignment closes that gap by requiring the two to match, strictly or at the organisational level.
- GlossarySPFSPF is a TXT record listing which servers may send mail for a domain. A receiving server looks up the record for the return path domain and checks whether the machine that connected is on the list. It breaks when a message is forwarded, because the forwarding server is not on your list, and that is why SPF on its own is not enough.
- GlossaryDKIMDKIM signs outgoing mail with a private key and publishes the matching public key in DNS, under a label called a selector. A receiving server fetches the key, checks the signature, and learns that the message was not altered on the way and really came from a sender your domain authorized. It survives forwarding, which is why it matters more than SPF alone.
- ToolSPF record generatorBuild the SPF record for your domain: list the services and servers that send your mail, see the lookup count, and copy the exact TXT record to publish.
- ToolEmail blacklist checkCheck an IP address or domain against email block lists for free. See each list's answer, what a listing means and where to ask for removal.
Sending with Rasket? Add your domain and Rasket writes every record it needs, adds them for you at DNS hosts it can connect to, and checks each one until it is live. How domains work in Rasket.