---
title: "SPF, DMARC, DKIM Email Security Checker | CyberWithMadhav"
description: "Free A to F grade for any domain's email and DNS security: SPF lookups, DMARC policy, DKIM, DNSSEC, CAA, MTA-STS and TLS-RPT, with exact fixes."
url: https://www.cyberwithmadhav.com/dns-security-checker.html
source_format: markdown rendering of the HTML page
---

[Security Lab](https://www.cyberwithmadhav.com/security-lab.html) / DNS and Email Security Checker

$  dig +dnssec TXT _dmarc.yourdomain

# DNS and Email Security Checker

Can someone send email pretending to be your college, company or bank? Type a domain and get an A to F grade for its email and DNS security, with the exact record to add for every problem.

**What leaves your browser:** only the domain name, sent to Cloudflare's public DNS resolver (cloudflare-dns.com) to read public DNS records. Nothing is sent to CyberWithMadhav and nothing is stored.

Try:

## What is checked and how it is graded

Each record earns points; the grade is the share of points earned. Email checks weigh the most because spoofed email is the most common way attacks start.

- **SPF (35 points):** one valid v=spf1 record, no more than 10 DNS lookups across all includes (RFC 7208), and an ending of ~all or -all.
- **DMARC (35 points):** a v=DMARC1 record, policy quarantine or reject, and a rua reporting address.
- **DKIM (10 points):** a public key at one of 16 common selectors. Selectors cannot be listed from DNS, so "not found" can mean "not guessed".
- **DNSSEC (5), CAA (5), MTA-STS (3) and TLS-RPT (2).** BIMI is shown for information only.
- Domains with no MX record are graded on whether they clearly say they send no email (v=spf1 -all and DMARC reject), which stops spoofing of unused domains.

### Limits

- HTTP security headers (CSP, HSTS and others) are not graded: browsers block reading another site's headers (CORS), and this site has no server to do it.
- Results reflect what Cloudflare's resolver sees at that moment. DNS changes can take time to appear.
- A good grade means spoofing your domain is hard. It does not mean your mailboxes or website are secure.

[Email Header Forensics](https://www.cyberwithmadhav.com/email-header-analyzer.html) [Phishing URL Forensics](https://www.cyberwithmadhav.com/url-forensics.html)

## Email security and phishing workshop for your institute

For colleges, schools and IT teams: how spoofed mail gets through, how to read headers and links like an analyst, and a live check of your own domain's SPF, DKIM and DMARC. Online across India, in person in Mumbai.

[Book a session for your institute](https://www.cyberwithmadhav.com/cybersecurity-awareness-sessions.html) [All lab tools](https://www.cyberwithmadhav.com/security-lab.html)

[Lost money? Call **1930**](tel:1930)

National Cyber Crime Helpline. Then report on [cybercrime.gov.in](https://cybercrime.gov.in)  (opens in a new tab) . Report fraud calls and SMS on Chakshu at [sancharsaathi.gov.in](https://sancharsaathi.gov.in)  (opens in a new tab) .
