DMARC Record Generator
Create valid DMARC DNS TXT records online to protect your domain from spoofing and phishing. Free step-by-step DMARC policy builder.
Domain
Policy Settings
No action is taken on failing messages. Use this to collect reports and understand your email flow before enforcing.
Alignment Settings
Reporting Settings
Receives daily XML aggregate reports. Highly recommended for monitoring.
Receives per-message failure reports. Not supported by all providers.
Default: 86400 (24 hours). Common values: 3600 (1 hour), 43200 (12 hours), 86400 (24 hours).
Your DMARC policy is set to monitor only. No messages will be blocked or quarantined. This is the recommended starting point to collect data before enforcing stricter policies.
Generated DMARC Record
_dmarc.example.comDNS Setup Instructions
- Log in to your DNS provider or domain registrar (e.g., Cloudflare, GoDaddy, Namecheap, Route 53).
- Navigate to the DNS management section for your domain.
- Create a new TXT record with the following values:
- Host/Name:
_dmarc.example.com - Type: TXT
- Value: the generated record above
- TTL: 3600 (1 hour) or your provider's default
- Host/Name:
- Save the record. DNS propagation typically takes a few minutes to 48 hours.
- Verify your DMARC record using a DMARC lookup tool or by running:
nslookup -type=txt _dmarc.example.com
- Configured SPF records for all sending sources
- Set up DKIM signing for your domain
- Monitored DMARC reports with p=none first
- Confirmed legitimate email sources pass authentication
Understanding DMARC Records
DMARC (Domain-based Message Authentication, Reporting & Conformance) is an email authentication protocol that builds on top of SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail). It allows domain owners to publish a policy in their DNS records that specifies how receiving mail servers should handle messages that fail authentication checks.
DMARC solves a critical problem in email security: even with SPF and DKIM in place, there was no standardized way for domain owners to tell receiving servers what to do when authentication failed, or to get feedback about messages claiming to be from their domain.
A DMARC record is published as a DNS TXT record at _dmarc.yourdomain.com and contains the policy along with optional reporting addresses and alignment settings.
How to Use DMARC Record Generator
Open DMARC Record Generator
Navigate to DMARC Record Generator in your browser — no installation or sign-up required.
Enter your data
Type, paste, or upload the content you want to process into the input area.
Configure options
Adjust any available settings to customize the output to your needs.
Get your result
The result appears instantly. Copy it to your clipboard or download it as a file.
Frequently Asked Questions
Related Tools
DKIM Record Generator
Generate DKIM DNS TXT records for email authentication online. Free DKIM generator with RSA key pairs to prevent email spoofing.
SPF Record Generator
Create valid SPF TXT records for email authentication online. Free SPF generator to prevent spoofing and improve deliverability.
Email Header Analyzer
Parse and analyze email headers online to trace delivery paths and check SPF, DKIM, and DMARC authentication. Free header analyzer.
MX Record Lookup
Look up MX records for any domain online. Free MX lookup tool showing mail server priorities, email providers, and SPF/DMARC records.
Email Spam Checker
Test email subject lines and body for spam trigger words online. Free spam checker with score and deliverability improvement tips.
Email Subject Line Tester
Test and score email subject lines for deliverability and engagement online. Free subject line tester with spam risk and improvement tips.