DNS Lookup
See a domain’s DNS records from Cloudflare or Google, compare the two, and get SPF and DMARC records explained in plain words.
Runs in your browser. Nothing is uploaded.
Updated
How to use DNS Lookup
- Enter a domain name, or an IP address for a reverse lookup.
- Pick a record type, or All common types.
- Choose Cloudflare, Google, or both to compare, then look up.
DNS Lookup at a glance
Typical use: Check that your MX and SPF records are right after moving e-mail, or whether a new IP address has gone live.
Lookups go from your browser to the DNS service you choose (Cloudflare or Google); our server never sees them. Some networks block DNS-over-HTTPS.
When to use DNS Lookup
Check where a domain points, which servers receive its e-mail, or whether a DNS change has gone live. Choose All common types to see A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records at once, plus the domain’s DMARC policy. SPF and DMARC records are explained in plain words, and an IP address gets a reverse (PTR) lookup.
Lookups go from your browser straight to Cloudflare (1.1.1.1) or Google (8.8.8.8) over HTTPS. Choose Both, and compare to see whether the two agree: right after a change they often don’t, because each keeps the old answer until its TTL runs out.
DNS Lookup examples
- Is my e-mail set up? Look up your domain with All common types. MX shows the mail servers, TXT should include an SPF record (
v=spf1 …), and DMARC shows what receivers do with mail that fails the checks. - Did my new IP address go live? Look up the A record with Both, and compare. If Cloudflare and Google disagree, one still has the old address cached; the TTL tells you how long until it expires.
- Whose server is this? Enter an IP address, such as
8.8.8.8, to get its name from a reverse lookup: dns.google.
Record types
| Type | What it holds |
|---|---|
| A / AAAA | The IPv4 / IPv6 address a name points to. |
| CNAME | An alias: this name is another name. A name with a CNAME has no other records. |
| MX | Mail servers, with a priority: the lowest number is tried first. |
| NS | The name servers in charge of the domain (usually set at your registrar). |
| TXT | Text for other services: SPF, DKIM, site ownership checks. |
| SOA | Zone details: the primary name server, the admin contact and a serial number. |
| CAA | Which certificate authorities may issue HTTPS certificates for the domain. |
| PTR | The name for an IP address (reverse DNS), used by mail servers to check senders. |
| TTL | How long resolvers may cache an answer before asking again. |
Prefer the terminal?
In a terminal, dig asks a chosen DNS server the same questions:
dig @1.1.1.1 example.com MX +short
dig @8.8.8.8 _dmarc.example.com TXT +short
dig -x 8.8.8.8 +shortdig is built into macOS and Linux (on Ubuntu: sudo apt install dnsutils). On Windows, use nslookup -type=MX example.com 1.1.1.1. This page uses DNS-over-HTTPS, so it works where port 53 is blocked.
References
Frequently asked questions
Who sees the domains I look up?
The DNS service you choose: Cloudflare, Google, or both. Your browser asks them directly over HTTPS, without cookies, and our server never sees the lookup. Google is asked not to pass any part of your IP address on to the domain’s name servers. Both services publish privacy policies for their public DNS.
Why do Cloudflare and Google give different answers?
Usually because of caching. After a DNS change, each resolver keeps the old answer until its TTL expires, so for a while one may show the new value and the other the old one. Some domains also answer differently by location, for example content delivery networks.
What does NXDOMAIN or SERVFAIL mean?
NXDOMAIN means the name does not exist: check the spelling, or the domain may have expired. SERVFAIL means the resolver could not get a trustworthy answer, which is often a broken DNSSEC setup or name servers that are down.
Can I look up records like _dmarc or SRV?
Yes. Enter the full name, such as _dmarc.example.com with type TXT, or _sip._tcp.example.com with type SRV. All common types already includes the DMARC record.
Why does the lookup fail on my network?
Some ad blockers, VPNs and company networks block DNS-over-HTTPS services. Try the other resolver, or another network. A dig command for your terminal is shown under the results.
What does “DNSSEC validated” mean?
The domain signs its DNS records, and every answer shown passed the resolver’s signature check, so it was not tampered with on the way. Many domains don’t use DNSSEC, and that is not an error.