DMARC is a standard that tells email providers whether to trust messages claiming to come from your domain

DMARC stands for Domain-based Message Authentication, Reporting and Conformance. It is a set of instructions you publish in your domain's DNS records that email providers (Gmail, Outlook, Yahoo, and others) read before deciding whether to deliver your message, mark it as spam, or reject it outright. DMARC works by checking whether your email passed two earlier authentication tests — SPF and DKIM — and then tells the provider what to do if it failed.

Without DMARC, anyone can send an email that appears to come from your domain, and most providers will deliver it. With DMARC, you are saying: "I control this domain, I have set up authentication, and if a message claims to be from me but fails those checks, here is what I want you to do." That instruction might be "deliver it anyway but mark it as suspicious," "reject it," or "send me a report so I can see who is trying to impersonate me."

Key Takeaways

  • DMARC requires SPF and DKIM to already be set up on your domain — it does not replace them, it enforces them.
  • You publish a DMARC record in your DNS as a TXT entry, and email providers check it before deciding what to do with messages claiming to be from your domain.
  • DMARC has three enforcement modes: monitor (report only), quarantine (mark as spam), and reject (block entirely), and you typically start in monitor mode to avoid breaking legitimate mail.
  • DMARC reports tell you which services are sending mail on your behalf and which messages are failing authentication, so you can fix problems before tightening enforcement.

How DMARC fits into email authentication

Email authentication is a chain of three standards, and DMARC is the third link. SPF (Sender Policy Framework) is a list you publish that says "these IP addresses are allowed to send mail from my domain." DKIM (DomainKeys Identified Mail) is a cryptographic signature attached to each message that proves it came from your domain and was not altered in transit.

DMARC sits on top of both. It says: "I have published SPF and DKIM. When a message arrives claiming to be from my domain, check both of those. If it passes both, deliver it. If it fails both, or if it fails in a way that looks like impersonation, here is my instruction." That instruction is what you control when you set up DMARC.

The reason you need all three is that SPF alone can be spoofed (an attacker can send from an allowed IP but with a forged sender address), and DKIM alone does not tell the provider what to do if a message fails. DMARC closes those gaps by requiring both checks to pass and by giving you explicit control over the outcome.

The three DMARC enforcement modes

When you create a DMARC record, you set a policy that tells email providers what to do with messages that fail authentication. The three modes are none (monitor only), quarantine (treat as spam), and reject (block entirely).

None mode means "I am not enforcing yet, just send me reports." Messages that fail DMARC still get delivered, but you receive data about what passed and what failed. This is where you start, because legitimate services you use (payment processors, shipping notifications, marketing platforms) may not be set up correctly, and you do not want to block them while you are still learning what is sending mail on your behalf.

Quarantine mode tells providers to treat failed messages as suspicious — usually by putting them in the spam folder instead of the inbox. This is the middle ground: you are enforcing DMARC, but a message that fails can still be recovered if the recipient checks spam.

Reject mode tells providers to refuse the message entirely. It will not be delivered at all. You only move to reject mode after you have run in monitor or quarantine mode long enough to be certain that all legitimate mail from your domain is passing authentication.

What goes in a DMARC DNS record

A DMARC record is a TXT entry in your domain's DNS, and it follows a specific format. The record name is always _dmarc.yourdomain.com, and the value starts with v=DMARC1 followed by a series of tags that set your policy.

A basic DMARC record in monitor mode looks like this:

v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com

Breaking this down: v=DMARC1 says this is a DMARC version 1 record. p=none sets the policy to monitor only. rua=mailto:dmarc-reports@yourdomain.com tells email providers to send you aggregate reports (a summary of all messages) to that email address.

As you move toward enforcement, you would change p=none to p=quarantine or p=reject. You can also add ruf=mailto:dmarc-forensics@yourdomain.com to receive forensic reports (detailed information about individual failed messages), though these can be noisy and are usually optional.

Setting up DMARC step by step

Before you create a DMARC record, you must already have SPF and DKIM set up and working. If you have not done that yet, go back and configure those first — DMARC will not work without them.

Once SPF and DKIM are in place, log into your domain registrar or DNS hosting provider (GoDaddy, Namecheap, Route 53, Cloudflare, or wherever you manage your domain's DNS). Create a new TXT record with the name _dmarc and the value v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com. Replace yourdomain.com with your actual domain and dmarc-reports@yourdomain.com with an email address you control and check regularly.

Save the record and wait 15 minutes to an hour for DNS to propagate. You can test whether your DMARC record is published by using an online DMARC checker (search "DMARC checker") or by running a DNS lookup command in your terminal: nslookup -type=TXT _dmarc.yourdomain.com. Once it shows up, email providers will start reading it and sending you reports.

Leave your DMARC policy in monitor mode for at least two weeks. During that time, read the reports you receive to understand which services are sending mail on your behalf and whether any legitimate mail is failing authentication. Once you are confident that all legitimate mail is passing, you can change p=none to p=quarantine or p=reject.

Reading DMARC reports and fixing problems

DMARC reports arrive as XML attachments and can be dense. The key information is: how many messages passed SPF, how many passed DKIM, how many passed both, and how many failed. The report also lists the IP addresses and domains sending mail on your behalf.

If you see a service you recognize (your payment processor, your email marketing platform, your shipping provider) that is failing DMARC, contact that service and ask them to set up DKIM signing or to use an SPF-approved IP. Many large services already support this; you may just need to enable it in your account settings.

If you see an IP address or domain you do not recognize, that is a sign that someone is trying to impersonate you. Keep the report as evidence, but do not panic — in monitor mode, the messages are still being delivered, so you have time to investigate. Once you move to quarantine or reject mode, those messages will be blocked.

Common mistakes when setting up DMARC

The most common mistake is moving to reject mode too quickly. If you do, you may block legitimate mail from services you forgot you were using, and your customers or partners may not receive important messages. Always spend at least two weeks in monitor mode, and ideally a month, before moving to quarantine or reject.

Another mistake is not checking your DMARC reports. The reports are only useful if you read them. Set a calendar reminder to check your dmarc-reports email address at least once a week while you are in monitor mode. If you do not have time to read them, you are not ready to enforce DMARC yet.

A third mistake is setting up DMARC without SPF and DKIM. DMARC requires both to work. If you publish a DMARC record but your SPF and DKIM are not configured, email providers will see that your messages are failing authentication and will treat them as suspicious or reject them, even though you intended DMARC to be monitor-only.

Frequently Asked Questions

Do I need DMARC if I do not send much email from my domain?

Yes. Even if you send very little mail, DMARC prevents others from impersonating you. Scammers often target domains that do not have DMARC set up because they can send phishing emails that appear to come from you without any authentication. Setting DMARC to monitor mode costs nothing and takes 15 minutes.

What happens if I set DMARC to reject mode and it breaks my mail?

Change the policy back to p=quarantine or p=none when ready. DNS changes take 15 minutes to an hour to propagate, so your fix will not be when ready, but it will take effect quickly. This is why you should always test in monitor mode first — it gives you a safety net.

Can I have multiple DMARC records for subdomains?

Yes. You can create a DMARC record for _dmarc.subdomain.yourdomain.com with its own policy, separate from the one on your main domain. This is useful if a subdomain sends mail through a different service or has different security requirements.

What if my email provider publishes DKIM on my behalf?

Many email services (Gmail, Office 365, Mailchimp) handle DKIM signing automatically. You still need to publish an SPF record that includes their servers, and then you can set up DMARC. The DMARC record goes on your domain, not on the email service's domain.