Understanding DMARC in DNS

Understanding DMARC in DNS

DMARC, or Domain-based Message Authentication, Reporting, and Conformance, is a DNS-based standard that helps prevent email spoofing and phishing. It allows domain owners to specify how email servers should handle messages that fail SPF and DKIM authentication checks.

What Is a DMARC Record?

A DMARC record is a DNS TXT record published under the subdomain _dmarc.example.com. It contains policy instructions and reporting options. For example:

_dmarc.example.com. IN TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com"
DMARC Record

This policy instructs receiving mail servers to quarantine messages that fail authentication, and to send aggregate reports to the specified email address.

DMARC helps improve security and provides visibility into email sources using your domain name.

DMARC Policy Options

The p tag in the record controls how failures are handled. There are three levels:

How to Look Up a DMARC Record

To check a DMARC record, you can use the following tools:

Windows

Use PowerShell or Command Prompt:

nslookup -type=txt _dmarc.example.com

macOS

Open Terminal and run:

dig +short TXT _dmarc.example.com

Linux

Use dig or nslookup:

dig +short TXT _dmarc.example.com

or

nslookup -query=txt _dmarc.example.com

DMARC Tags and Settings

Why DMARC Matters

Common Mistakes

Example Full Record

_dmarc.example.com. IN TXT "v=DMARC1; p=reject; rua=mailto:reports@example.com; sp=reject; aspf=s; adkim=s"

This policy tells mail servers to reject unauthenticated mail for both the main domain and subdomains. It also enforces strict alignment and requests daily aggregate reports.

Summary

DMARC is a powerful tool for protecting your email identity. It prevents bad actors from impersonating your domain and gives you visibility into how your domain is used across the internet. Whether you're running a business or managing your personal domain, publishing and monitoring a DMARC record is a smart move for better email security.




Home DNS Lookup Advanced DNS Lookup Domain Profile Report DNS Explorer Instructions DNSai Chat Domain Name System Email Security SPF, DKIM, DMARC CSV Comparison Utility About

close menu