DMARC Record Builder
Build a DMARC record for your domain in seconds. Pick a policy, set the reporting addresses and alignment, and the tool builds the exact TXT record to publish. The record updates as you type.
Your DMARC settings
Your DMARC record
Enter your settings to build the record.
What Is a DMARC Record?
DMARC, Domain-based Message Authentication, Reporting and Conformance, is a DNS TXT record that tells mail servers what to do with email that claims to come from your domain but fails SPF and DKIM checks. Without DMARC, anyone can send mail that looks like it came from your domain, which is how most phishing and spoofing works. With DMARC, receiving servers check the record, act on its policy, and send you reports about who is sending mail as your domain. The record itself is a short string of tags starting with v=DMARC1, and it lives at the _dmarc subdomain of your domain.
How DMARC Works
When a mail server receives a message, it first checks SPF, which verifies the sending server, and DKIM, which verifies the message signature. DMARC then checks alignment: does the domain in the SPF or DKIM check match the domain in the From address? If neither check passes with alignment, the message fails DMARC, and the receiving server follows your policy: p=none only reports the failure, p=quarantine sends the message to spam, and p=reject blocks it outright. The rua tag tells receivers where to send daily aggregate reports, the ruf tag requests detailed forensic reports on individual failures, and pct lets you apply the policy to only a share of failing mail, which is useful when rolling a strict policy out slowly.
Worked Example
Example, with the default settings. For example.com, with policy p=reject and aggregate reports to dmarc@example.com, the record is: v=DMARC1; p=reject; rua=mailto:dmarc@example.com; You publish it as a TXT record at the host _dmarc.example.com, with no other value. From then on, any mail claiming to be from example.com that fails SPF and DKIM alignment is rejected by receiving servers, and you get a daily aggregate report at dmarc@example.com showing which servers sent mail as your domain and whether it passed. A gentler rollout would use p=quarantine with pct=50 first: v=DMARC1; p=quarantine; pct=50; rua=mailto:dmarc@example.com; That sends half of the failing mail to spam while you watch the reports, before you move to reject at 100 percent.
Common Mistakes
Staying on p=none forever. A monitoring-only policy is the right first step, but it never blocks anything. Spoofed mail keeps reaching inboxes until you move to quarantine and then reject, so set a date to tighten the policy after a week or two of clean reports.
Publishing the record at the root domain instead of _dmarc. The record only works at the _dmarc subdomain, for example _dmarc.example.com. A record published at example.com itself is ignored by receiving servers, so your policy silently does nothing.
Skipping SPF and DKIM first. DMARC builds on SPF and DKIM. If your own legitimate mail does not pass those checks, a reject policy will block your own mail too. Publish SPF and DKIM and confirm your mail passes before you enforce DMARC.
Using strict alignment without checking third-party senders. Strict SPF and DKIM alignment require an exact domain match. If a newsletter tool or help desk sends mail as your domain from its own subdomain, strict alignment can fail it. Start relaxed, check the reports, and only switch to strict when every legitimate sender aligns.
Related Tools
Build the SPF record DMARC relies on with the SPF Record Builder, work out a percentage for a pct rollout with the Percentage Calculator, convert times across zones when reading report timestamps with the Time Zone Converter, count the days until a policy change takes effect with the Date Calculator, and convert units when sizing mail volume with the Unit Converter.
Frequently Asked Questions
What does a DMARC record actually do?
It tells receiving mail servers how to handle email that claims to be from your domain but fails SPF and DKIM checks. Depending on the policy you pick, failing mail is only reported, sent to spam, or rejected outright. It also turns on reporting, so you can see who is sending mail as your domain.
Where do I publish the DMARC record?
As a TXT record at the host _dmarc plus your domain, for example _dmarc.example.com, in your DNS settings where your domain is managed. The record value is the full string this tool builds, starting with v=DMARC1. DNS changes usually take effect within a few hours, but some providers take up to 48 hours.
What does p=none mean?
It means monitor only. Receiving servers check your mail against DMARC and send you reports, but they take no action on mail that fails, so spoofed mail still reaches inboxes. It is the safe starting policy while you check that your own mail passes, but it is not protection on its own.
Do I need SPF and DKIM before DMARC?
Yes, in practice. DMARC relies on SPF and DKIM results, so if your legitimate mail fails both, a quarantine or reject policy will block your own mail. Set up SPF and DKIM first, send test mail, confirm it passes, and only then move DMARC past p=none.
What is the difference between rua and ruf?
The rua address gets daily aggregate reports, which are summaries showing how much mail claimed to be from your domain and how much of it passed or failed. The ruf address gets forensic reports, which are detailed reports about individual failed messages. Aggregate reports are enough for most domains, and forensic reports can contain message content, so only use ruf if you need that detail.