# DNS Lookup

Resolve A, AAAA, MX, TXT, NS, SOA, CAA and SRV records over DNS-over-HTTPS.

## URL

https://ilham.dev/tools/dns-lookup/

## What It Does

Resolve A, AAAA, CNAME, MX, TXT, NS, SOA, CAA and SRV records over DNS-over-HTTPS, so the query travels over an encrypted connection instead of plain UDP on port 53. It asks Cloudflare first, falls back to Google, and reports which resolver answered.

## Features

- Runs in the browser
- No login required

## Input

text input.

## Output

text output.

## Privacy

This tool sends the necessary request data to a third-party API or to the endpoint you provide so it can complete the lookup or test.

Provider: Cloudflare DNS or Google DNS over HTTPS.


- Requires login: false
- Requires API key: false
- Stores user data: false


## Examples

- Why is there no ANY query?
- Is this the same as dig?
- Why do I get a different answer than my own resolver?




## Questions

### Why is there no ANY query?

Both Cloudflare and Google refuse ANY over DoH and return NOTIMP. Querying each record type individually is what the resolvers actually support.

### Is this the same as dig?

They can ask for the same records, but this page uses HTTPS to a public resolver, while `dig` normally uses the DNS resolver configured for your device. The route, cache, and answer may differ. HTTPS protects the connection to the selected resolver; it does not prove the DNS record itself is correct.

### Why do I get a different answer than my own resolver?

You are asking a public resolver with its own cache. A different answer usually means a different cache state, or a CDN handing back the node nearest to the resolver rather than to you.

