Insights

Thinking DMARC Is Live Because the TXT Record Exists? Check It Sits at _dmarc

November 8, 2026
0:00
A lot of people treat DMARC as done the moment a TXT record starting with v=DMARC1 shows up in the DNS panel. Then a checker reports no DMARC record, the Authentication-Results header on a test message says dmarc=none, or the rua mailbox never gets a single aggregate report. The record exists, but receivers don't care that it exists. They care whether exactly one valid record sits at one exact name.
DMARC (Domain-based Message Authentication, Reporting and Conformance) sits on top of SPF and DKIM. SPF and DKIM tell a receiver whether a message was authorized or signed. DMARC tells the receiver whether those results line up with the domain in the visible From header, which is called alignment, and what to do when they don't. To find the policy, a receiving server takes the domain from the From header and queries TXT records at a fixed name: _dmarc. followed by that domain. For mail from [email protected], that's _dmarc.example.com. If nothing is there, the receiver tries the organizational domain, roughly the registered domain, so mail from news.example.com falls back to _dmarc.example.com. That's the whole discovery process. The receiver doesn't scan the zone, doesn't read the root TXT records, and doesn't guess at typos. The symptoms are quiet. Nothing bounces. SPF and DKIM can both pass, so the message looks healthy at a glance. The receiver simply has no policy to apply. Spoofed mail using your domain isn't held to any rule, and you get no reports showing who's sending as you. When someone asks why a domain 'with DMARC' still shows up as unprotected in a checker, the first thing worth checking is the record's name, not its contents.
The value is usually fine. It's the name field that goes wrong, and it tends to go wrong in one of three ways. The first is publishing at the root. Someone pastes v=DMARC1; p=none; rua=mailto:[email protected] into a TXT record with the host set to @ or left blank, next to the SPF record. It sits at example.com, and receivers never query that name for DMARC. The record is harmless there, but it does nothing. The second is the doubled name. Many DNS editors, including common control panels, treat the Name or Host field as relative to the zone and append the domain automatically. Typing _dmarc.example.com into that field can produce _dmarc.example.com.example.com. The record list looks right, especially when the column is truncated, but the record lives one level too deep. Whether your panel appends the zone, and whether a trailing dot makes the name absolute, depends on the software. Check how existing records like www or mail are entered and follow the same pattern. In most relative-name editors, the correct entry is just _dmarc. The third is a small slip: dmarc without the underscore, _dmarc.www, or the record placed at _dmarc.mail.example.com because that's the mail server's hostname. That last one is a valid record, but it only governs mail whose From address ends in @mail.example.com. DMARC follows the From domain, not the name of the server that sends the mail.
The other common failure is having more than one. It happens when someone adds a new DMARC record instead of editing the existing one, when a reporting service asks you to publish its record and the old one stays in place, or when a migration imports a zone on top of records that were added by hand. People often assume the receiver will pick the stricter record, or the newest. It won't. The DMARC specification (RFC 7489) says the receiver discards TXT records at _dmarc that don't start with v=DMARC1, and if more than one record remains, policy discovery stops and DMARC isn't applied to the message. Two valid-looking records produce the same outcome as zero. The p=reject you added last week is ignored along with the old p=none. One detail confuses people reading raw output. A single TXT record can be made of several quoted strings, which happens with long values. In dig output that appears as one line with multiple quoted chunks, and receivers typically join them into one value. That's still one record. Two separate lines, each starting with v=DMARC1, are two records. A CNAME at _dmarc can cause a similar mess. Some reporting services ask you to point _dmarc at their host with a CNAME instead of publishing a TXT. A name with a CNAME isn't supposed to carry other record types, so if a TXT record is also sitting there, the result depends on the DNS software. Pick one method and remove the other.
The panel shows what you entered. dig shows what receivers will see. Start with the exact name, rule out the two common mistakes, then ask the authoritative nameserver directly so you're not reading a cached answer from your local resolver.
BASH
# What a receiver will find (should return exactly one v=DMARC1 line)
dig +short TXT _dmarc.example.com

# Rule out the doubled name and the root
dig +short TXT _dmarc.example.com.example.com
dig +short TXT example.com

# Find the authoritative nameservers, then query one directly
dig +short NS example.com
dig +short TXT _dmarc.example.com @ns1.example-dns.net
Replace ns1.example-dns.net with one of the nameservers the NS query returns. If the first query is empty but the doubled-name query returns your policy, you've found the problem. If the root query shows a v=DMARC1 line, that record is in the wrong place and can be removed once a correct one exists at _dmarc. Duplicate records look like this:
TEXT
Illustrative output format (two records, policy will be ignored):
"v=DMARC1; p=none; rua=mailto:[email protected]"
"v=DMARC1; p=quarantine; rua=mailto:[email protected]"
If you just fixed the name, a resolver might still return nothing for a while. Resolvers cache negative answers too, for a period derived from the zone's SOA record, so a lookup that said 'no record here' a few minutes ago can keep saying that until the cache expires. Querying the authoritative server tells you whether the fix is actually published, independent of caches. For a final check, send a message to a mailbox you control at a large provider and read the Authentication-Results header. The format varies by receiver, but you're looking for a dmarc= result of pass or fail, often with the policy it found. A result of none generally means no usable policy record was found.
In production, the setup is boring on purpose: one TXT record, at _dmarc relative to the zone, starting with v=DMARC1 followed by a p= tag, with tags separated by semicolons.
TEXT
Name:  _dmarc   (resolves to _dmarc.example.com)
Type:  TXT
Value: v=DMARC1; p=none; rua=mailto:[email protected]
p=none is a reasonable starting point. It's a real, discoverable policy that tells receivers to deliver as usual while sending aggregate reports to the rua address, so you can see which senders pass alignment before tightening to quarantine or reject. If reports go to a mailbox on a different domain, that domain usually needs to publish an authorization record accepting them, so an empty report inbox isn't always a naming problem. Check that second, after the name. When you change policy later, edit the existing record instead of adding another. If you switch to a reporting service that wants a CNAME, delete the TXT first. After any DNS migration, include _dmarc in whatever comparison you run between the old and new zones, because it's an easy record to lose or duplicate. The same habit of clearing out leftover TXT entries applies to other underscore names, as covered in pruning stale _acme-challenge records. Seeing v=DMARC1 in a panel isn't proof of anything. The working test is one query: dig +short TXT _dmarc.yourdomain should return exactly one line starting with v=DMARC1. If it returns nothing, look for the record at the root or under a doubled name. If it returns two lines, merge them into one. Until that query comes back clean, receivers treat the domain as if DMARC was never set up, whatever the panel says.

Join My Newsletter & Get Updates!

Get notified whenever a new technical guide, server infrastructure breakdown, or personal reflection goes live, plus a curated weekly digest.