How to create a DMARC record with this generator
Pick a policy for your domain, optionally a different one for subdomains, add the addresses that should receive reports, and choose the alignment mode. The generator builds the TXT value as you go and explains each tag in it.
Tags left at their default values are omitted to keep the record short. Relaxed alignment, 100 percent coverage and a daily report interval are what receivers assume anyway.
A good first record for a domain that sends mail is v=DMARC1; p=none; rua=mailto:dmarc@example.com. It blocks nothing, but it starts the reports that show who sends as your domain.
How to publish your DMARC record in DNS
Create a TXT record with the host or name _dmarc and paste the generated value. Most DNS panels append your domain automatically. If yours does not, enter _dmarc.example.com in full. The default TTL is fine.
A domain must have only one DMARC record. If one already exists, edit it instead of adding a second, because receivers ignore all records when they find more than one.
Once the record is live, confirm it with the DMARC checker. The first aggregate reports usually arrive within a day or two.
Choosing each DMARC tag
p is the policy for your domain: none monitors, quarantine sends failing mail to spam and reject refuses it. sp sets the subdomain policy. Leave it unset to inherit p, or set sp=reject to lock down subdomains that never send mail.
rua lists the mailboxes for aggregate reports. Always set it. ruf requests failure reports on individual messages. They can contain personal data and many large providers do not send them. fo sets when failure reports are generated: 0 when SPF and DKIM both fail, 1 when either fails, d for DKIM failures and s for SPF failures.
adkim and aspf choose relaxed (r) or strict (s) alignment. Relaxed lets mail.example.com align with example.com and is the right choice for most domains. pct is a legacy RFC 7489 tag that applies the policy to a share of failing mail. RFC 9989, the current DMARC standard, removes it: older receivers still honor it, newer ones ignore it. Leave it at 100. DMARC alignment explained covers the alignment modes.
Which DMARC policy to start with
Start with p=none unless you already know every service that sends as your domain. Read the aggregate reports, fix SPF and DKIM for each legitimate sender, then move to p=quarantine and finally p=reject. How to set up DMARC walks through each step.
A domain that sends no mail can go straight to v=DMARC1; p=reject, together with v=spf1 -all as its SPF record. Check that one with the SPF checker.
Google and Yahoo require bulk senders to publish DMARC at p=none or stronger. Reaching p=reject is what actually stops spoofing. p=none vs p=quarantine vs p=reject compares the three.
Common mistakes when creating a DMARC record
Publishing at the wrong name. The record belongs at _dmarc.example.com, not at the domain apex.
Leaving out rua. Without reports you cannot tell whether moving to enforcement will block legitimate mail.
Report addresses on another domain without authorization. When rua points to a different domain, that domain must publish a TXT record v=DMARC1 at example.com._report._dmarc.<report domain>. Report services usually set this up for you.
Strict alignment by default. adkim=s or aspf=s fails mail from services that sign or bounce with a subdomain of yours. Use relaxed unless you have a specific reason.
Frequently asked questions
How do I create a DMARC record?
Choose a policy (none, quarantine or reject), add an address for aggregate reports, and combine them into a TXT value such as v=DMARC1; p=none; rua=mailto:dmarc@example.com. Publish it as a TXT record at _dmarc.yourdomain.com. A DMARC generator builds and explains the value for you.
Where do I add a DMARC record?
Add a TXT record in your domain’s DNS with the host _dmarc, which becomes _dmarc.yourdomain.com. Most DNS panels append the domain automatically, so enter only _dmarc unless yours requires the full name.
What should my first DMARC record be?
For a domain that sends mail, start with v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com. It does not block anything, but it sends you reports on every source using your domain, so you can fix them before moving to p=quarantine and p=reject.
What is the rua tag in DMARC?
rua lists the email addresses that receive DMARC aggregate reports, written as mailto: URIs and separated by commas. The reports are daily XML summaries of which servers sent mail as your domain and whether it passed SPF, DKIM and DMARC.
Should I use strict or relaxed DMARC alignment?
Use relaxed alignment (the default) for most domains. It accepts SPF and DKIM domains that share your organizational domain, such as mail.example.com for example.com. Strict alignment requires an exact match and often breaks third-party senders.
Do I need ruf failure reports?
No. Failure reports are optional, many large providers do not send them, and they can contain message content and personal data. Aggregate reports through rua give the information you need to reach enforcement.
Is the DMARC pct tag still used?
pct is a legacy tag from the original DMARC specification, RFC 7489. RFC 9989, the current standard published in 2026, removes it. Receivers that still implement RFC 7489 honor pct, while RFC 9989 receivers ignore it. For new records, leave it out and move between none, quarantine and reject instead.