Email DNS
Check a domain's DMARC record
Read the DMARC policy, subdomain policy, reporting addresses and alignment, and see what each tag does.
How to read the result
The header says Valid when the record has no errors and Invalid otherwise. A valid record with p=none is marked as risky: it is correct, but it protects nothing yet.
| Field | What it means | What to do with it |
|---|---|---|
| Record | The DMARC record found at _dmarc. plus your domain, or at the organizational domain when yours has none. |
Check that it starts with v=DMARC1 and says what you meant. |
| Policy | p: what you ask receivers to do with mail that fails DMARC: none, quarantine or reject. |
none only collects reports. Move to quarantine, then reject, once reports show your senders passing. |
| Subdomain policy | sp: the policy for subdomains. When the record has no sp, the checker shows the p value, which is what subdomains inherit. |
Set sp=reject early if your subdomains never send mail, even while p is still none. |
| Percentage | pct: the share of failing mail the policy applies to. 100 when the tag is absent. |
Keep values under 100 for the duration of a rollout only. |
| Aggregate reports | rua: the mailto: addresses that receive XML summaries of who sends mail as your domain. |
Without one you see nothing of what fails. Add a mailbox you read, or a report service's address. |
| Forensic reports | ruf: addresses for failure reports about single messages. Receivers decide whether to send them, and they can include message content. |
Optional. Point them at a mailbox you control and treat its content as personal data. |
| DKIM alignment | adkim: r (relaxed, the default when the tag is absent) accepts a signature from any domain that shares the From domain's organizational domain; s (strict) needs the exact domain. |
Keep r unless subdomains run by others must not vouch for your main domain. |
| SPF alignment | aspf: the same choice for the Return-Path domain checked by SPF. Defaults to r. |
Keep r unless you have a specific reason for s. |
| Issues | A code for each problem found. Errors make the record invalid; warnings flag weak settings. Each code is explained below. | Fix errors first. Warnings show where you stand in a rollout. |
| Bulk CSV upload | Locked. Runs the email check over a CSV of addresses; each row reports whether a DMARC record applies to the address's domain. | Needs a free account. |
| API access | Locked. The email endpoint returns domain.dmarc, true when the address's domain or its organizational domain publishes DMARC, for 1 credit per address. |
Needs a free account, which includes 100 credits every month. |
Issue codes: errors
| Code | Meaning |
|---|---|
no_dmarc_record |
No record at _dmarc. plus your domain, nor at the organizational domain. Receivers apply no DMARC policy. |
multiple_dmarc_records |
More than one record. RFC 7489 tells receivers to apply no DMARC at all in that case. |
dns_error |
The lookup of the _dmarc name failed: SERVFAIL, REFUSED or a timeout. |
syntax_error |
Part of the record is not a tag=value pair. |
version_not_first |
v=DMARC1 is missing, misspelled or not the first tag. |
duplicate_tag |
The same tag appears twice. |
missing_policy |
No p tag. Under RFC 7489, a record with a valid rua but no p is read as p=none; without rua, it is ignored. |
invalid_policy, invalid_subdomain_policy |
p or sp is something other than none, quarantine or reject. |
invalid_pct |
pct is not a whole number from 0 to 100. |
invalid_rua, invalid_ruf |
A report address is not a mailto: URI. |
invalid_adkim, invalid_aspf |
An alignment value other than r or s. |
invalid_fo |
fo holds something other than 0, 1, d or s. |
invalid_ri |
ri is not a number of seconds. |
Issue codes: warnings
| Code | Meaning |
|---|---|
policy_none |
Monitoring only: failing mail is delivered as usual. |
partial_pct |
pct is under 100, so part of the failing mail gets a weaker treatment. |
no_rua |
No aggregate report address, so you cannot see who sends as you. |
unknown_tag |
A tag the checker does not recognize, such as a typo. RFC 7489 tells receivers to ignore unknown tags. |
inherited_from_organizational_domain |
Your domain has no record of its own. The one shown comes from its organizational domain. |
How the check works
- The tool reads the domain you typed and queries the TXT records at
_dmarc.plus that domain, over DNS over HTTPS. Queries go to Cloudflare's 1.1.1.1 resolver, with Google Public DNS as the fallback. - It keeps the records that start with
v=DMARC1. - If there are none and your domain sits below its organizational domain, it queries
_dmarc.plus the organizational domain, as receivers do (RFC 7489 section 6.6.3). The organizational domain is the one registered under a public suffix:example.comformail.example.com,example.co.ukforshop.example.co.uk. - It splits the record on semicolons into tags, checks that
vcomes first, and notes duplicate and unknown tags. - It validates each value and shows the defaults of RFC 7489 for missing tags:
pct100,adkimandaspfrelaxed, andspequal top.
What the check cannot know:
- Whether your mail passes. DMARC is decided per message: SPF or DKIM must pass for a domain aligned with the From header. A perfect record does not fix a sender that signs with someone else's domain.
- What receivers will do. A policy is a request. RFC 7489 section 6.7 says the final disposition of a message is always a matter of local policy, so a receiver can be stricter or looser than you ask.
- Whether outside report addresses authorized you. The
_report._dmarcrecord of an externalruadomain is not checked here. Look it up with the DNS lookup tool, type TXT. - What your reports say. They arrive by email at the
ruaaddresses, not in DNS. - Fresh edits. Resolvers cache the record for its TTL, so a change can take up to one TTL to show here.
DMARC tags and their defaults
RFC 7489 section 6.3 defines the tags. Only v and p are required.
| Tag | Values | Default | What it controls |
|---|---|---|---|
v |
DMARC1 |
Required, must come first | Marks the record as DMARC. |
p |
none, quarantine, reject |
Required | Policy for the domain itself. |
sp |
none, quarantine, reject |
Same as p |
Policy for subdomains without their own record. |
pct |
0 to 100 | 100 | Share of failing mail the policy applies to. |
rua |
mailto: URIs, comma-separated |
None | Where aggregate reports go. |
ruf |
mailto: URIs, comma-separated |
None | Where failure reports go. |
adkim |
r, s |
r |
DKIM alignment mode. |
aspf |
r, s |
r |
SPF alignment mode. |
fo |
0, 1, d, s |
0 |
When failure reports are generated: 0 when all mechanisms fail to give an aligned pass, 1 when any does, d on any DKIM failure, s on any SPF failure. |
rf |
afrf |
afrf |
Format of failure reports. |
ri |
Seconds | 86400 | Requested interval between aggregate reports. Daily reports are guaranteed; shorter intervals are best effort. |
A report address can carry a size limit after an exclamation mark, such as mailto:dmarc@example.com!10m, to ask receivers not to send reports larger than 10 megabytes.
What each policy asks for
| Policy | What receivers are asked to do | When to use it |
|---|---|---|
p=none |
Deliver failing mail as usual and send reports. RFC 7489 says it should not change existing handling. | First step, while you find every source sending as your domain. |
p=quarantine |
Treat failing mail as suspicious: spam folder, closer scrutiny or a warning flag. | Once reports show your own sources passing. Combine with pct for smaller steps. |
p=reject |
Refuse failing mail, preferably during the SMTP transaction. | The goal for any domain whose legitimate senders all pass. |
With pct under 100, what happens to the rest depends on the policy. Under quarantine, mail outside the percentage gets the receiver's normal handling. Under reject, mail outside the percentage is treated as quarantine (RFC 7489 section 6.6.4). So p=reject; pct=50 rejects half of the failing mail and quarantines the other half: a useful step between quarantine and a full reject.
Alignment in practice
Take a message whose From header reads news@example.com.
| Domain that passed SPF or DKIM | Relaxed (r) |
Strict (s) |
|---|---|---|
example.com |
Aligned | Aligned |
mail.example.com |
Aligned: same organizational domain | Not aligned |
example.net, a sending platform's own domain |
Not aligned | Not aligned |
For SPF, the domain that counts is the Return-Path, not the From. For DKIM, it is the d= value of the signature. When a platform sends with its own Return-Path and signs with its own d=, nothing aligns and DMARC fails, even though SPF and DKIM both pass on their own.
Report addresses on another domain
When the rua or ruf address sits on a different organizational domain than the one publishing the policy, RFC 7489 section 7.1 makes receivers check that the destination agreed to receive the reports. For example.com sending reports to dmarc@reports.example.net, receivers look up:
example.com._report._dmarc.reports.example.net. TXT "v=DMARC1"
If that record is missing, receivers must ignore the address. Report services publish it for their customers, sometimes as a wildcard such as *._report._dmarc.reports.example.net. If your reports stop arriving after a change of service, check this record first.
What an aggregate report tells you
Aggregate reports are XML files that each receiver sends to your rua address, gzip-compressed as RFC 7489 section 7.2 recommends. Their format is defined in Appendix C of the same RFC. Each one covers a time range and groups your mail by sending IP address.
| Element | What it holds | What to look for |
|---|---|---|
report_metadata |
The receiver's name, a report ID and the date range covered. | Each receiver reports only the mail it received. Add up rows across receivers to see your total volume. |
policy_published |
The policy the receiver found for your domain: p, sp, pct, adkim, aspf. |
Confirms which record the receiver actually used, which matters right after a change. |
row |
One sending IP address, the number of messages it sent and the result: disposition (none, quarantine or reject), plus aligned dkim and spf verdicts. |
IP addresses you do not recognize, with large counts, are the sources to investigate. |
identifiers |
The From domain (header_from) the row is about. |
Subdomains appear here separately from your main domain. |
auth_results |
The raw SPF and DKIM results before alignment, with the domain each one was checked for, and the DKIM selector. | A pass here but a fail in the row means an alignment problem, not a broken key or record. |
Comparing auth_results with the verdicts of the row is the habit worth building. When auth_results shows DKIM passing for example.net while your From domain is example.com, the platform behind that IP address signs with its own domain. Ask it to sign with yours.
From p=none to p=reject without losing mail
- Publish
v=DMARC1; p=none; rua=mailto:plus an address you read. Confirm it here. - Read the aggregate reports. List every source that sends as your domain and decide, for each one, whether it is yours.
- For each legitimate source, make SPF or DKIM pass and align. DKIM signing with your own domain is the sturdier fix, because it survives forwarding. Check keys with the DKIM checker and records with the SPF checker.
- Lock down what never sends. Set
sp=rejectif your subdomains send no mail, even whilepis stillnone. - Move to
p=quarantine, withpctstepping up if you want a gradual change, and keep reading the reports. - Move to
p=rejectonce the reports show no legitimate source failing. Keep theruaaddress: when someone in your company starts sending through a new tool, the reports are where its failures show up first.
The SPF, DKIM and DMARC guide covers the full setup, including records for domains that send no mail at all.
Same check through the API
One HTTPS call, one credit. The response below is the real schema returned by the API.
curl https://api.qelka.com/v1/email \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"email":"jane@exmaple.com","mode":"fast"}'const response = await fetch("https://api.qelka.com/v1/email", {
method: "POST",
headers: {
Authorization: "Bearer sk_test_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
email: "jane@exmaple.com",
mode: "fast",
}),
});
const result = await response.json();{
"id": "lkp_01M84QZDZG5EJDJJE338NYR2ZA",
"object": "email",
"input": "jane@exmaple.com",
"status": "unknown",
"reason": "smtp_not_checked",
"did_you_mean": "jane@example.com",
"checks": {
"syntax": true,
"mx": true,
"smtp": null,
"catch_all": null,
"disposable": false,
"role": false,
"free_provider": false
},
"domain": {
"name": "exmaple.com",
"spf": true,
"dmarc": true
},
"score": 55,
"credits_used": 1,
"cached": false
}Bulk and pricing
- Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
- Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
- The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.
Frequently asked questions
What is a DMARC record?
_dmarc. plus your domain. It tells receivers what to do with mail whose From domain fails authentication, and where to send reports. A message passes DMARC when SPF or DKIM passes for a domain aligned with the visible From address. The policy can be none, quarantine or reject.Where do I publish a DMARC record?
_dmarc.example.com, with your domain in place of example.com, and a value such as v=DMARC1; p=none; rua=mailto:dmarc@example.com. If your DNS panel appends the domain to host names, type only _dmarc; otherwise you create _dmarc.example.com.example.com. Publish a single record, and check it here once any old record's TTL has passed.What does p=none do?
p=none asks receivers to deliver failing mail as usual and to send you reports. It blocks no spoofing, but it is the right first step: the aggregate reports show every server sending as your domain, so you can fix legitimate senders before you enforce anything. Google's sender guidelines accept p=none for bulk senders. Treat it as a stage, not a destination.Should I use quarantine or reject?
quarantine asks receivers to treat failing mail as suspicious, which RFC 7489 describes as placing it in the spam folder, scrutinizing it more, or flagging it. reject asks them to refuse it during the SMTP transaction, so it never arrives. Go through quarantine first, with pct if you want smaller steps, and move to reject once reports show every legitimate source passing.What does pct do in a DMARC record?
pct sets the share of failing messages the policy applies to, from 0 to 100, with 100 as the default. Under p=quarantine; pct=25, a quarter of failing mail is quarantined and the rest gets normal handling. Under p=reject, messages outside the percentage are treated as quarantine instead (RFC 7489 section 6.6.4). It exists for gradual rollouts.What are rua and ruf in DMARC?
rua lists the addresses that receive aggregate reports: XML files, by default one per day, summarizing which IP addresses sent mail as your domain and whether SPF, DKIM and DMARC passed. ruf lists addresses for failure reports about single messages, which can contain message content. Both take mailto: URIs separated by commas. Aggregate reports are the ones you need.What is DMARC alignment?
mail.example.com aligns with example.com. In strict mode they must match exactly. DMARC passes only when SPF or DKIM passes and is aligned.Why does DMARC fail when SPF passes?
Do I need both SPF and DKIM for DMARC?
Does my DMARC record cover subdomains?
_dmarc.shop.example.com fall back to _dmarc.example.com and apply its sp tag, or p when sp is absent (RFC 7489 sections 6.3 and 6.6.3). A subdomain with its own record uses that record instead, and any sp tag inside it is ignored.Can a domain have two DMARC records?
multiple_dmarc_records. Merge the tags you need into a single record and delete the other.How do I send DMARC reports to an outside service?
rua, for example rua=mailto:dmarc@reports.example.net. Since that address is on another domain, the service must authorize you with a TXT record at example.com._report._dmarc.reports.example.net containing v=DMARC1 (RFC 7489 section 7.1). Without it, receivers must ignore that address. Report services publish this record for their customers.Does Gmail require a DMARC record?
p=none accepted, and to align the From domain with SPF or DKIM. Every sender must set up SPF or DKIM. Read Google's current guidelines before a large send, since the requirements can change.Why does the checker say my record is inherited?
sp value, or its p when sp is absent. If the subdomain needs a different policy, publish a record at _dmarc. plus the subdomain.What is the np tag in DMARC?
np comes from RFC 9091, an experimental DMARC extension for public suffix domains. It sets a policy for subdomains that do not exist in DNS, which anyone can put in a From header. The checker accepts the tag without flagging it, but it has no row of its own; read it in the Record row. Receivers that do not implement RFC 9091 ignore it.Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.