DMARC Record Generator — Create a Valid DMARC Record for Your Domain
Create a custom DMARC record to protect your domain from spoofing and phishing.
Frequently Asked Questions
Where do I publish my DMARC record?
Publish the generated TXT record in your domain's DNS zone at the host/name _dmarc (full entry: _dmarc.yourdomain.com). The value is the complete record string starting with v=DMARC1.
Should I start with p=none or p=reject?
Always start with p=none to collect aggregate reports and identify all legitimate senders. Jumping directly to reject can block your own authorized email if any source lacks proper SPF or DKIM alignment.
What is the rua tag and why is it important?
The rua tag specifies the email address where aggregate (XML) reports are sent. These reports show every IP that sends email from your domain, whether messages pass or fail authentication, and what volume each source generates. Without rua, you have no visibility.
How long should I stay at p=none?
Typically 2 to 4 weeks is sufficient for most domains. The goal is to collect enough report data to identify all legitimate senders and fix any SPF/DKIM alignment issues before moving to quarantine.
What is percentage rollout (pct)?
The pct tag lets you apply your DMARC policy to a percentage of failing messages. Setting pct=25 at p=quarantine means only 25% of failing messages are quarantined; the rest are treated as p=none. This allows gradual enforcement.
Can I use an external email for rua reports?
Yes, but the external domain must authorize your domain to send reports to it. This requires a TXT record at yourdomain.com._report._dmarc.externaldomain.com with the value v=DMARC1. Without this, reports are silently dropped.
Do subdomains need separate DMARC records?
Not always. Subdomains inherit the parent domain's DMARC policy unless you set an sp= tag or publish a separate DMARC record on the subdomain. Use sp=reject on the parent to protect all subdomains at once.
What happens if my DMARC record has syntax errors?
Receiving servers will ignore a malformed DMARC record entirely, treating the domain as having no DMARC policy. Use our DMARC Checker to validate syntax after publishing.
Related Tools
DMARC Record Checker
Verify your DMARC record, check for syntax errors, and test your email security.
Try ToolSPF Record Checker
Check for the 10-lookup limit, syntax errors, and authorized IP addresses.
Try ToolDKIM Record Checker
Verify your DomainKeys Identified Mail public key and selector syntax.
Try Tool