DNS Lookup Tool
Query DNS records for any domain — A, AAAA, MX, CNAME, TXT, and NS records
Check a domain's public DNS records
Enter a hostname such as example.com above, then select Lookup. This tool queries the Cloudflare DNS-over-HTTPS resolver for A (IPv4), AAAA (IPv6), MX (mail), CNAME (alias), TXT (verification), and NS (name-server) records. Results appear here after the request completes.
A DNS record lookup is different from a VPN leak check. A missing answer can mean that a particular record type does not exist, not that the whole domain is offline. For IP-to-hostname queries, use our reverse DNS checker.
DNS Records via Cloudflare DNS-over-HTTPS
Understanding DNS Records
A Record
Maps a domain to an IPv4 address. The most common DNS record type.
AAAA Record
Maps a domain to an IPv6 address. The newer version of A records.
MX Record
Mail Exchange — specifies the mail servers for a domain with priority.
CNAME Record
Canonical Name — creates an alias pointing one domain to another domain.
TXT Record
Text records used for email verification (SPF, DKIM), domain ownership, etc.
NS Record
Name Server — indicates which DNS servers are authoritative for a domain.
DNS lookup examples and troubleshooting
DNS maps names such as example.com to different kinds of records. An A record points to an IPv4 address, an AAAA record to IPv6, MX records identify mail exchangers, and TXT records often hold domain-verification or email-authentication text. A CNAME gives an alias for another hostname, while NS lists authoritative name servers.
Example: website works but email does not
If a domain has valid A or AAAA records but is missing the expected MX records, web browsing might work while incoming email fails. Check the MX hostnames and confirm those hosts resolve to addresses. A TXT record for SPF or DKIM does not replace an MX record.
Why the answer differs from another DNS checker
DNS resolvers cache answers according to the record's time-to-live (TTL). After changing DNS, some users may see an old value until caches expire. DNS routing, resolver policy and DNSSEC failures can also produce differences. A missing result does not always mean the whole domain is invalid.
How to make your test useful
Query the exact hostname involved in the issue, not just its parent domain. Compare the expected record type, value and authoritative DNS provider. For suspected propagation problems, recheck after the configured TTL and compare with your DNS host's dashboard rather than changing records repeatedly.