DNS lookup tool.

Look up any DNS record for a domain and see exactly what a public resolver returns: records, TTLs, response codes and how long each query took. Switch resolvers to check propagation or find a stale cache.

Record types

Queried example.com via Cloudflare 1.1.1.1 JSON · text

A NOERROR 9.6ms · udp

NameTTLTypeValue
example.com.116A104.20.23.154
example.com.116A172.66.147.243

About this tool

Each record type is a real DNS query sent from this server over UDP (falling back to TCP on truncation) to the resolver you pick, with EDNS enabled. Nothing is cached here, so what you see is what that resolver is serving right now. Enter an IP address and it becomes a PTR (reverse DNS) lookup automatically.

How to do a DNS lookup

  1. Type the domain name (or an IP address for reverse DNS).
  2. Tick the record types you care about. A, AAAA, CNAME, MX, NS and TXT are on by default.
  3. Pick a resolver. Cloudflare (1.1.1.1) is the default; switch to Google or Quad9 to compare answers, or enter your own resolver's IP.
  4. Press Look up. Each type is queried separately so you can see its own response code, TTL and timing.

DNS record types you can look up

RecordWhat it tells you
AThe IPv4 address(es) a name points to.
AAAAThe IPv6 address(es). Missing AAAA is why a site is unreachable on some mobile networks.
CNAMEAn alias to another name. The resolver follows the chain; the tool shows every link.
MXMail servers and their preference. Lowest number is tried first.
NSThe authoritative nameservers for the zone. Wrong NS after a registrar move is a classic outage.
TXTFree text: SPF (v=spf1), DMARC at _dmarc., DKIM under a selector, domain verification tokens.
SOAZone authority: primary nameserver, admin contact, serial number and refresh timers. The serial tells you whether secondaries have caught up.
CAAWhich certificate authorities may issue for the name. An unexpected CAA record blocks Let's Encrypt renewals.
SRVService discovery (host, port, priority, weight) for things like SIP, XMPP and Minecraft.
PTRReverse DNS: the name an IP address maps back to. Mail servers without a matching PTR get rejected.

Check DNS propagation

"Propagation" is really cache expiry. When you change a record, every resolver in the world keeps serving its old copy until the TTL it cached runs out. Run the same lookup against Cloudflare, Google and Quad9: if they disagree, the change has not reached them all yet, and the TTL column tells you how long each one will hold on. The authoritative answer (query the zone's NS directly by entering its IP as the resolver) is what they will all converge on. There is more on this in how long DNS propagation takes.

Common DNS lookup problems

Examples

DNS lookup from the command line

Everything here works from a terminal too. Plain text is the default for curl: curl "kirkdiamond.com/tools/dns?name=example.com&type=MX&type=TXT". Add &format=json for structured output and &resolver=8.8.8.8 to pick the resolver. Only public names and resolvers can be queried, and nothing is stored.