Network Tools

DNS Lookup & SPF, DKIM, DMARC Checker

Look up every common DNS record for a domain and check its email authentication: SPF with the 10-lookup count, DMARC policy and DKIM key strength, each with a grade and fixes.

A domain, URL or email address.

About DNS lookups and email authentication

DNS records tell the internet where a domain's website (A and AAAA), mail servers (MX) and name servers (NS) are, which certificate authorities may issue certificates for it (CAA), and carry text records (TXT) used for verification and email security. This tool queries Cloudflare's public resolver 1.1.1.1, falling back to Google's 8.8.8.8.

Three TXT records protect a domain against email spoofing. SPF lists the servers allowed to send mail for the domain; it may use at most 10 DNS lookups. DKIM publishes a public key that receivers use to verify a signature on every message. DMARC tells receivers what to do with mail that fails both checks and where to send reports.

To create or repair these records, use the SPF, DKIM & DMARC Record Generator, which also generates DKIM key pairs in your browser.

Frequently Asked Questions

A, AAAA, CNAME, MX, NS, TXT, CAA and SOA records, with their TTL. For MX records it also checks that each mail server name resolves to an IP address.

Queries go to Cloudflare's public resolver 1.1.1.1, with Google's 8.8.8.8 as a fallback, so you see what the rest of the internet sees. Changes you just made can take until the old TTL expires to show up.

SPF lets a receiving server make at most 10 DNS lookups (include, a, mx, ptr, exists and redirect) while checking a record, including nested includes. Above 10 the check fails with a permanent error and your mail may be rejected. The checker counts them for you, through every include.

DKIM keys live at selector._domainkey.yourdomain, and selectors cannot be listed through DNS. We try common ones (google, selector1, selector2, k1, default, s1, s2, mail, dkim). Find yours in the s= tag of the DKIM-Signature header of an email you sent and enter it.

Start with p=none and a rua address to collect reports, fix any legitimate senders that fail, then move to p=quarantine and finally p=reject, which gives the best protection against spoofing.

Use 2048-bit RSA keys. 1024-bit keys still work but are considered weak, and keys shorter than 1024 bits are rejected by most mailbox providers. An empty p= value means the key has been revoked.