DMARC Record Generator
Build the TXT record that tells mail servers how to treat messages that fail authentication, and where to send reports.
One or more addresses, separated by commas. A dedicated mailbox is best; reports arrive daily.
Advanced options
Add this TXT record
- Type
- TXT
- Host / Name
- _dmarc.example.com
- Value
- v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com
Some DNS panels add the domain automatically; if yours does, enter only _dmarc as the host. A domain has one DMARC record: edit the existing one instead of adding another.
What DMARC adds to SPF and DKIM
SPF checks which server sent a message and DKIM checks a cryptographic signature, but neither looks at the From address your recipients actually see. DMARC closes that gap: a message passes only if SPF or DKIM passes for a domain that matches the visible From. On top of that it lets you publish a policy, so receivers know whether to deliver, quarantine or reject mail that fails, and it gives you reports showing every source sending as your domain.
A safe rollout plan
- Week 0: make sure SPF and DKIM are set up for every service you send from (staff mail, website, newsletters, invoices, helpdesk).
- Weeks 1–4: publish
p=nonewith aruaaddress. Delivery does not change. Review the daily reports and fix any legitimate source that fails. - Next: move to
p=quarantine, optionally withpct=25and then higher, so only part of the failing mail is affected while you watch for problems. - Finally:
p=reject. Spoofed mail using your domain is now refused by receivers that honour DMARC.
Raw aggregate reports are XML files. A free DMARC report viewer or a spreadsheet import makes them easier to read.
Worked example
For example.com, with reports going to a mailbox on the same domain, the starting record is published at _dmarc.example.com with the value v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com. Once the reports show only your own services, change p=none to p=quarantine, and later to p=reject. Nothing else in the record needs to change.
Adding the record in cPanel
Go to Domains → Zone Editor, choose Manage next to the domain, then Add Record. Pick TXT, enter _dmarc (cPanel completes the domain) and paste the value. Many hosts also have an Email Deliverability page that shows whether SPF and DKIM are valid. The DNS records guide explains TXT records in more detail.
Frequently Asked Questions
Related Guides
More Webmaster Utilities
.htaccess Generator
Apache server directives & HTTPS
Robots.txt Builder
Crawl rules & AI bot blocking
SPF Record Generator
Authorised senders & lookup count
Hosting Calculator
Storage, bandwidth & tier estimates
Meta Tag Generator
Live SERP & OpenGraph card previews
Schema Generator
JSON-LD rich snippet generators