DNS lookup

Looks up the DNS records of a domain with their TTL: A, AAAA, CNAME, MX, NS, TXT, CAA and SOA at once, or one type you pick. Ask the authoritative name servers directly to see a change before caches expire.

Try

Last reviewed . Our own recursive resolver in Helsinki, with DNSSEC validation. For the authoritative answer, each name server of the zone is asked without recursion.

The same check in a terminal

All the usual records:

dig example.com ANY +noall +answer
# many servers refuse ANY; ask type by type:
for t in A AAAA MX NS TXT CAA SOA; do dig +noall +answer example.com $t; done

One type, short:

dig +short example.com MX

From an authoritative server:

dig +short example.com NS
dig @hera.ns.cloudflare.com example.com A +norecurse

Reverse lookup:

dig -x 93.184.215.14 +short

From the command line

Every check also answers in plain text to curl, and in JSON with ?format=json. All endpoints.

curl https://tools-api.wardterm.com/dns/example.com
curl "https://tools-api.wardterm.com/dns/example.com?type=MX&auth=1"

Reading the result

TTL

The seconds a resolver may keep the answer. After a change, the old value can live in caches for up to the old TTL.

Resolver and authoritative

The resolver answer is what most clients see now. The authoritative answer is what the zone says. If they differ, a cache still holds the old value.

Questions

How do I check the MX records of a domain?

Enter the domain, pick MX and press Look up. Lower preference numbers are tried first.

Why does my new DNS record not show?

A resolver keeps the old answer until its TTL runs out. Pick "Resolver and authoritative": if the authoritative servers already show it, the change is published and caches will follow.

What is a CAA record?

It lists the certificate authorities allowed to issue certificates for the domain. Without one, any public authority may.

Can I look up a reverse DNS (PTR) record?

Yes. Enter an IP address instead of a domain.

Related guides

More tools

All tools · Acceptable use