DNS lookup
Query any DNS record, just like dig or nslookup: pick the record type and the resolver (Cloudflare, Google, Quad9, OpenDNS or the authoritative server). An IP address is looked up as a reverse name (PTR).
How to query DNS properly
Public resolver or authoritative server?
A public resolver (Cloudflare, Google, Quad9, OpenDNS) answers from its cache: that is what most internet users see. The authoritative server holds the zone and always returns the current value. After a change, compare both: if the authoritative server shows the new value and the resolver does not, you only need to wait for the TTL to expire.
Picking the right record type
A and AAAA for a website's address, MX for mail servers, NS for name servers, TXT for SPF, DMARC and verification codes, CAA for the certificate authorities allowed to issue certificates, SRV for services such as SIP or Autodiscover. DS and DNSKEY relate to DNSSEC, and HTTPS advertises HTTP/3 and connection settings.
Reading the response
NOERROR with no record means the name exists but not that type; NXDOMAIN means the name does not exist at all. The AA flag marks an authoritative answer, AD an answer whose DNSSEC signature the resolver has verified. The TTL, in seconds, is the remaining cache time.
The same query on the command line
Each result shows the equivalent dig command, which you can paste into a terminal to run the query from your own machine. On Windows, nslookup -type=MX example.com 1.1.1.1 gives the same result.
Frequently asked questions
What is the difference between a public resolver and the authoritative server?
The authoritative server holds the zone and returns the current value. A public resolver (Cloudflare, Google…) caches the answer for the TTL: after a change, it may show the old value until the cache expires.
What do AA, AD and RA mean?
AA marks an answer from the authoritative server, AD an answer whose DNSSEC signature was validated, and RA a server that accepts recursive queries.
How do I find the name behind an IP address?
Enter the IP address: the tool automatically queries the PTR record (reverse DNS), under in-addr.arpa for IPv4 or ip6.arpa for IPv6.
Why do two resolvers return different answers?
Each keeps its own cached copy, fetched at a different time. Until the old value's TTL expires, a resolver may still serve it. The authoritative server gives the reference value.
What do REFUSED and SERVFAIL mean?
REFUSED: the server declines to answer, for example an authoritative server asked about a zone it does not host. SERVFAIL: the resolver could not get a valid answer, often because of an invalid DNSSEC signature or unreachable name servers.