Skip to main content

DNS Lookup Tool

Query A, AAAA, CNAME, MX, TXT, NS, SOA, and PTR records for any domain. Results come from Cloudflare's public DNS-over-HTTPS API — fully client-side, no proxy.

✓ All major record types ✓ Cloudflare 1.1.1.1 resolver ✓ TTL displayed per record
A record: Maps a domain to an IPv4 address. This is the most common DNS record.

Sponsored

Disclosure

Affiliate disclosure: some links below may earn us a small commission at no cost to you. Learn more

Frequently Asked Questions

What DNS record types can I look up?▼

This tool supports A (IPv4 address), AAAA (IPv6 address), CNAME (canonical name / alias), MX (mail exchange), TXT (arbitrary text, used for SPF, DKIM, domain verification), NS (nameservers), SOA (start of authority — zone metadata), and PTR (reverse DNS — IP to hostname). These cover the vast majority of real-world DNS debugging scenarios.

How does this DNS lookup tool work?▼

Queries are sent to Cloudflare's DNS-over-HTTPS (DoH) API at cloudflare-dns.com/dns-query. This means all lookups are encrypted (HTTPS), authoritative results come directly from Cloudflare's 1.1.1.1 resolver, and nothing passes through a proxy server. Your queries go directly from your browser to Cloudflare's public DNS.

What is the difference between an A and AAAA record?▼

An A record maps a hostname to an IPv4 address (e.g. 93.184.216.34). An AAAA record maps a hostname to an IPv6 address (e.g. 2606:2800:220:1:248:1893:25c8:1946). Most domains have both for dual-stack connectivity. If you're diagnosing connectivity issues, check both — a missing AAAA record can cause IPv6 clients to fall back to IPv4.

What is a CNAME record and when should I use it?▼

A CNAME (Canonical Name) record is an alias from one hostname to another. For example, www.example.com CNAME example.com means www resolves to whatever example.com resolves to. CNAMEs are useful for subdomains pointing to services (like a CDN or Vercel), but can't be used at the zone apex (root domain). At the root, use ALIAS or ANAME records (proprietary to some DNS providers) or A records.

What is DNS TTL?▼

TTL (Time To Live) is the number of seconds resolvers and browsers should cache a DNS record before re-querying. A TTL of 300 means 5 minutes. Low TTLs (60–300s) allow fast failover and migrations. High TTLs (3600–86400s) reduce DNS query volume and improve performance. When planning a DNS change, lower TTL 24–48 hours in advance so caches clear faster.

Why are my DNS changes not propagating?▼

DNS propagation is the time it takes for updated records to spread across all resolvers worldwide. This is determined by the old record's TTL — if your A record had TTL 86400 (24h), resolvers that cached it won't re-query for up to 24 hours. To check if propagation is complete, try querying multiple resolvers in different regions. Tools like dnschecker.org or this tool (which uses Cloudflare's 1.1.1.1) can show the current state.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →