DNS Lookup

Query DNS records like A, AAAA, MX, NS, TXT, CNAME, and SOA
This free online dns lookup runs in your browser and is part of our Developer Tools collection.

DNS Lookup

Query common DNS records to troubleshoot domains, mail setup, and DNS propagation.

What this helps with

  • Check website records (A/AAAA/CNAME)
  • Validate email DNS setup (MX/TXT)
  • Review name servers and SOA authority
  • Inspect reverse DNS (PTR) for IP addresses
⚡
Instant In-Browser Execution Runs locally in JavaScript without wait times or server delays.
🔒
100% Privacy & Security Your inputs and files are never stored or logged on remote servers.
📱
Cross-Device Responsive Fully optimized for mobile smartphones, tablets, and desktop displays.
🎉
100% Free Forever No subscription fees, no signups, and no software installations.

How to Use the Online DNS Lookup

1 Enter Domain Name

Type any domain (e.g. `google.com` or `github.com`) without `https://`.

2 Select Record Type

Choose A (IPv4), AAAA (IPv6), MX (Mail), TXT (SPF/DKIM/verification), CNAME, NS, SOA, or query ALL records.

3 Execute DNS Query

Click "Lookup DNS" to query authoritative global resolvers via secure DNS-over-HTTPS (DoH).

4 Inspect Results & TTL

Review the resolved IP addresses, mail exchange priority scores, verification records, and Time-To-Live (TTL) values.

Frequently Asked Questions

Common questions about using this free online dns lookup.

What are the most common DNS record types and their purposes? ▾
`A` maps domains to IPv4 addresses; `AAAA` maps to IPv6; `CNAME` creates domain aliases; `MX` routes email to mail servers; `TXT` stores email security (SPF, DKIM, DMARC) and site verifications; `NS` specifies authoritative nameservers.
What does Time to Live (TTL) indicate in a DNS record? ▾
TTL is the number of seconds intermediate DNS resolvers and client devices are allowed to cache a DNS response before querying authoritative servers again for fresh updates.
How does DNS-over-HTTPS (DoH) improve query accuracy? ▾
DoH encrypts DNS queries over HTTPS, bypassing local ISP DNS caching, filtering, and DNS hijacking to return authentic records directly from root resolvers.
Why does my newly added DNS record not appear immediately? ▾
DNS changes take time to propagate globally based on the previous record's TTL value (typically anywhere from 5 minutes to 24–48 hours).

More Developer Tools

Explore related tools in the same category to solve adjacent tasks faster.

JSON FormatterFormat and validate JSONHTML Encoder/DecoderEncode and decode HTML entitiesRegex TesterTest regular expressionsCode MinifierMinify CSS, JS, and HTMLCode BeautifierBeautify CSS, JS, and HTML