Skip to main content
Guides/Email Security

How to Check Your DMARC Record

Check your published DMARC policy and understand how it relates to SPF, DKIM, and real message authentication. This guide separates DNS configuration from delivery evidence and explains how to review legitimate senders before changing enforcement.

EdgeDNS Team·Updated ·9 min read

First: what email impersonation actually is

Email spoofing can place an unauthorized domain in a message's visible From address. Whether the message is accepted or shown to a recipient depends on the receiver's authentication, reputation, content, and local filtering decisions. A forged From address does not automatically reach an inbox, and domain spoofing is only one kind of phishing.

Three mechanisms help receivers evaluate the domain claim:

  • SPF (Sender Policy Framework) checks whether a sending server is authorized for the envelope sender domain used during delivery.

  • DKIM (DomainKeys Identified Mail) verifies a message signature associated with a signing domain.

  • DMARC (Domain-based Message Authentication, Reporting and Conformance) relates those authenticated domains to the visible From domain and publishes a handling preference for failures.

DMARC passes when aligned SPF OR aligned DKIM passes. Both authentication methods are useful, but DMARC does not require both to pass for each message. A policy record alone does not authenticate a message: the receiving system evaluates the message and the relevant DNS records.

DMARC, in one paragraph

A DMARC record is a TXT record published at a name such as `_dmarc.example.com`. It advertises how the domain owner would like receivers to handle messages that fail DMARC and where supported reports should be sent. The DMARC checker inspects that published configuration. It does not send a test email or prove that a particular message reached an inbox.

Info:

DMARC passes when aligned SPF OR aligned DKIM passes. A published record describes policy; it does not demonstrate that a real message authenticated or reached an inbox.

What does the acronym actually mean?

DMARC combines a domain policy, message authentication alignment, and reporting. The current core specification is RFC 9989; the earlier RFC 7489 remains relevant to deployed legacy behavior.

A passing SPF result must use a domain aligned with the visible From domain, or a passing DKIM signature must use an aligned signing domain. Merely finding SPF and DKIM records in DNS cannot establish that a particular message passed those checks.

For bulk mail to personal Gmail accounts, Google's sender guidelines require SPF, DKIM, and DMARC, among other requirements. The DMARC policy can be `none`. Requirements vary by receiver and sender category; authentication alone does not determine inbox or Promotions placement.

Why this specific tool matters

A DMARC check helps you review the policy advertised for your domain and identify configuration issues before changing enforcement. Aggregate reports and message headers provide separate evidence about real sending streams. Publishing a record is not a guarantee of delivery, inbox placement, or protection against every impersonation attempt.

Illustrative example, not a customer case study. A company adds a newsletter service while using its domain in the visible From address. A received test message passes SPF for the provider's envelope domain, which is not aligned with the company's domain. Its DKIM signature passes for an aligned company signing domain, so DMARC can pass through DKIM. If that aligned signature is missing or fails and SPF remains unaligned, DMARC fails. The team should inspect received Authentication-Results headers and reports before deciding which provider setting needs correction.

A `p=reject` policy requests rejection of DMARC-failing messages. The receiver retains discretion over handling, including local exceptions. DMARC does not stop display-name deception, lookalike domains, or abuse through an authorized account, and a DMARC pass does not guarantee that the message is safe.

Three useful questions for a configuration review are:

  • Which policy is published, and is the record syntactically usable?

  • Which legitimate senders have demonstrated aligned authentication in actual messages?

  • Which report destinations are configured, and are reports arriving there?

Run the DMARC checker for the first question. Use receiver reports, message headers, and sending-provider logs for the others. An assistant connected through MCP can help interpret the available evidence, but a DNS checker is not proof of real-email delivery.

When would I actually use this?

Before adding a sending service. Record the existing DMARC policy, configure the provider's supported domain authentication, and send representative test messages. Check the receiver's Authentication-Results and the domains actually authenticated. A raw SPF pass under the provider's domain may be unaligned with your visible From domain.

When investigating delivery complaints. Keep authentication findings separate from delivery and placement. An accepted message can still be classified as spam or Promotions, and a correctly authenticated message can still be rejected for another reason. Review provider logs and receiver feedback instead of attributing an open-rate change to DMARC alone.

Before a policy change or security review. Inventory customer-facing and sending domains, save each published record, and document the evidence for legitimate sending streams. A policy checklist can support a review; it does not, by itself, establish compliance with an audit framework.

These are example workflows, not measured customer outcomes or promises about setup time. The email deliverability use case connects the related checks.

How to check your DMARC record

There are three ways to check if you have DMARC, from easiest to nerdiest:

Easiest (recommended for everyone): use the free EdgeDNS DMARC checker. You type in your domain, it tells you in plain language whether you have DMARC, what your current policy is, and what you should fix.

Easier still (if you're using AI): if you've connected the EdgeDNS MCP (Model Context Protocol) server to Claude, ChatGPT, or Gemini, you can just ask: "Check if example.com has a DMARC record set up correctly and explain anything that looks wrong." The AI will run the check, read the result, and explain it conversationally.

Nerdy way (if you like the command line): every DMARC record lives at a special subdomain called `_dmarc`. So you can ask DNS directly:

bash
# The standard Unix way
dig TXT _dmarc.example.com +short

# Or with nslookup if you're on Windows
nslookup -type=TXT _dmarc.example.com

# Or via the EdgeDNS API (returns nicely structured JSON)
curl -s "https://api.edgedns.dev/v1/security/dmarc?domain=example.com" \
  -H "Authorization: Bearer YOUR_API_KEY" | jq .

Doing the same check from Python

If you're wiring DMARC checks into a Python tool — a CI gate, a daily compliance script, or a customer-onboarding flow — the EdgeDNS API is one HTTP call away. Here's a minimal example using the standard `requests` library.

python
import os
import requests

API_KEY = os.environ['EDGEDNS_API_KEY']

def check_dmarc(domain: str) -> dict:
    response = requests.get(
        'https://api.edgedns.dev/v1/security/dmarc',
        params={'domain': domain},
        headers={'Authorization': f'Bearer {API_KEY}'},
        timeout=30,
    )
    response.raise_for_status()
    return response.json()['data']

result = check_dmarc('example.com')
policy = result['dmarc']
print(f"Found:  {policy['found']}")
print(f"Policy: {policy['policy']}")
print(f"Record: {policy['record']}")
for recommendation in result.get('recommendations', []):
    print(f"  - {recommendation}")

What all those weird tags mean

A record's tags describe policy and reporting preferences:

  • v=DMARC1 identifies the record as DMARC.

  • p=none requests no DMARC-specific handling change for failures; receivers still apply their own filtering.

  • p=quarantine requests that failures be treated as suspicious.

  • p=reject requests rejection of failures. It does not ensure that every receiver rejects every failing message.

  • sp= supplies a subdomain policy where applicable. When it is absent, the applicable parent policy can still cover subdomains; missing sp is not automatically an unprotected gap.

  • rua= identifies aggregate-report destinations. Report coverage depends on participating receivers and successful report delivery.

  • ruf= requests per-message failure reports, which many receivers limit or do not provide.

  • adkim= and aspf= select DKIM and SPF alignment modes. Relaxed is the default; strict requires an exact domain match.

Legacy pct tag: older records may contain `pct=10` or another percentage. RFC 9989 removed pct after inconsistent receiver behavior. Do not assume a percentage tag limits enforcement to that fraction of traffic; review your providers' current behavior before using a legacy rollout pattern.

Tip:

A monitoring policy and reports can help inventory legitimate senders before enforcement. Choose the observation period from your actual sending patterns; no fixed waiting period guarantees a safe rollout.

The five most common problems

1. Multiple DMARC policy records. More than one applicable DMARC TXT policy record can prevent a usable policy from being selected. Distinguish separate TXT records from multiple strings inside one record, and retain the intended policy after reviewing the duplicates.

2. Enforcement changed without sender evidence. A legitimate stream can fail if neither SPF nor DKIM provides aligned authentication. Check actual message results before tightening policy; a published DNS record is insufficient evidence.

3. Reports are missing. Check the rua destination, receiving capacity, and any required cross-domain reporting authorization. Not every receiver sends reports, so a missing report is not proof that no messages were sent.

4. Authentication passes but alignment fails. A provider's envelope sender or signing domain may differ from your visible From domain. Review its custom-domain setup rather than assuming that changing the DMARC record will authorize the provider.

5. Incorrect assumptions about subdomains. Review the applicable parent policy and any explicit subdomain records. Absence of sp alone does not prove that subdomains lack enforcement.

Rolling DMARC out without breaking email

An enforcement rollout should follow evidence about your sending streams rather than a fixed number of weeks.

Inventory and observe. List your legitimate senders and publish a monitoring policy with a report destination you control. Allow enough observation time to cover infrequent senders, billing cycles, and forwarding paths relevant to your organization. A monitoring policy changes the requested DMARC disposition, not every aspect of message handling.

Validate authentication. For each legitimate stream, examine representative received messages and reports. DMARC requires aligned SPF or aligned DKIM, while a receiver's bulk-sender rules may separately require both methods to be configured. Correct the sender's domain authentication before increasing enforcement.

Enforce with an operational plan. Consider quarantine and then rejection after reviewing legitimate failures, with an owner, rollback procedure, and continuing report review. The records below illustrate policy stages; they are not a universal timetable. Leave alignment modes at their defaults unless you have verified that stricter matching fits your sending paths.

Enforcement can reduce unauthorized use of your exact domain at participating receivers. It cannot eliminate all phishing or guarantee that legitimate messages will be delivered.

bash
# Illustrative monitoring policy
v=DMARC1; p=none; rua=mailto:dmarc@example.com

# Illustrative quarantine policy after sender validation
v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com

# Illustrative rejection policy after reviewing legitimate failures
v=DMARC1; p=reject; rua=mailto:dmarc@example.com

Keeping an eye on it over time

Recheck the published policy after DNS changes and when a sending service is added or removed. Keep a record of the configuration, collection time, and the sender evidence used to approve an enforcement change.

For recurring checks, configure a supported monitoring workflow or run the API on a schedule and retain the results. An MCP conversation performs an on-demand check; comparing it with last month requires an earlier saved result or an accessible history source. Do not assume that an assistant can reconstruct a prior policy from current DNS.

The Free plan includes 200 requests per month. The DMARC API reference documents the published-policy response; receiver-side reports and headers remain necessary for assessing real message authentication and delivery.

Words you might be wondering about

DMARC — domain policy, authentication alignment, and reporting for messages using the domain in their visible From address.

SPF — authorization of sending servers for an envelope sender domain.

DKIM — a message signature associated with a signing domain and a public key published in DNS.

Alignment — the required relationship between an authenticated SPF or DKIM domain and the visible From domain. An unaligned authentication pass is insufficient for DMARC.

Authentication-Results — a header in a received message that can report the receiver's authentication evaluations. Interpret headers from a receiver you trust.

Aggregate reports — summaries sent by participating receivers about observed message authentication. They are not a complete log of inbox placement.

Domain spoofing — unauthorized use of a domain in a message identity. Display-name deception and lookalike domains are different impersonation techniques.

Need Programmatic Access?

Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.

How to check your DMARC record — beginner guide (2026) | EdgeDNS