← Imperial Products / Tools / DNS Lookup

DNS Lookup Tool

Query A, AAAA, CNAME, MX, NS, TXT, and SOA records for any domain. Powered by Cloudflare DNS-over-HTTPS — fast, private, and runs entirely in your browser.

Try:
Querying DNS records…

DNS Record Types Explained

DNS (Domain Name System) translates human-readable domain names into the IP addresses and configuration data computers use to communicate. Each record type serves a distinct purpose.

A

Maps a domain to an IPv4 address. The most fundamental record — this is how browsers find your server.

AAAA

Maps a domain to an IPv6 address. The IPv6 equivalent of the A record, using 128-bit addresses.

CNAME

Canonical Name — creates an alias pointing one domain name to another. Often used for subdomains like www.

MX

Mail Exchanger — specifies which mail servers accept email for the domain. Includes a priority value.

NS

Name Server — delegates a DNS zone to the authoritative name servers responsible for it.

TXT

Text records hold arbitrary data. Used for SPF, DKIM, DMARC, domain verification, and other metadata.

SOA

Start of Authority — contains administrative information about the zone including the primary nameserver and refresh timings.

What is TTL?

TTL (Time to Live) is the number of seconds a DNS record can be cached by resolvers before they must re-query the authoritative server. A TTL of 300 means the record is cached for 5 minutes. Lower TTLs give you faster propagation when you change records; higher TTLs reduce DNS query load.

How DNS-over-HTTPS (DoH) Works

This tool uses the Cloudflare DNS-over-HTTPS API at cloudflare-dns.com/dns-query. Unlike traditional DNS which sends queries in plaintext over UDP port 53, DoH encrypts queries inside HTTPS, preventing eavesdropping and tampering. All queries are made directly from your browser — no data touches our servers.

Common Use Cases

More Free Developer Tools