Domain to IP Lookup

Resolve any domain to its A, AAAA, CNAME, MX, TXT, NS, and CAA records — straight from Cloudflare's authoritative DNS, no signup, no app download.

Examples:
Record type:

What "resolving a domain to an IP" actually means

When you type example.com into a browser, your computer asks a DNS resolver: "what IP address answers this name?" The resolver walks a chain — root servers → TLD servers → authoritative servers — and returns the IP that the domain owner has configured. That whole conversation usually completes in 20–80 milliseconds. This tool short-circuits the chain and asks Cloudflare's public DNS-over-HTTPS resolver (1.1.1.1) directly, so the answer is what a fresh client would see — no caching by your ISP, no stale local entry, no VPN interference.

The result you get back is more than a single IP. Modern DNS records cover several record types, each answering a different question:

  • A record — the IPv4 address (e.g. 93.184.216.34). This is what most people mean by "the domain's IP".
  • AAAA record — the IPv6 address (e.g. 2606:2800:220:1:248:1893:25c8:1946). Modern infrastructure usually has both; if AAAA is missing, IPv6-only clients will fail.
  • CNAME record — an alias pointing to another domain. CNAMEs are how SaaS vendors give you app.yourcompany.com → vendor.example.com without exposing their IPs.
  • MX record — the mail server for the domain. If you receive bounces, MX is where to look first.
  • TXT record — free-form text. Used for SPF, DMARC, DKIM, domain ownership verification (Google, Stripe, Twilio), and BIMI.
  • NS record — the authoritative name servers. Tells you which DNS provider hosts the zone (Cloudflare, AWS Route 53, Google Cloud DNS, GoDaddy).
  • CAA record — Certificate Authority Authorization. Lists which CAs may issue TLS certificates for the domain. A wrong CAA can break HTTPS deployments.

Why this is different from dig or nslookup

dig and nslookup on your laptop usually go to whatever resolver your network configured — your ISP, your office firewall, or whatever your VPN injected. Those resolvers cache. They sometimes lie. Captive portals on coffee shop Wi-Fi rewrite NXDOMAIN responses into ad pages. By going through Cloudflare DoH, this tool gives you what the public internet actually sees — which is what your users see. If your DNS change isn't showing up in dig, check here. If it shows up here but not dig, the problem is your local resolver.

How to read the answer

The hero panel shows the primary A and AAAA results — those are the IPs a browser would connect to right now. Below that, every record type we queried is listed in its own section, with each record's TTL (time-to-live) so you know how long the answer is cached. A short TTL (60–300 seconds) is a sign the operator expects to make changes; a long TTL (3600+) means the record is stable and a change you make will take a while to propagate worldwide.

If you see a CNAME chain — for example, app.example.com → app-prod.cdn.example.com → 12.34.56.78 — the actual IP at the end is what serves the request. CNAMEs add latency on the first lookup but are cached by recursive resolvers, so the cost is one-time per TTL window.

Common patterns and what they tell you

  • A record points to 104.21.x.x or 172.67.x.x → the domain is on Cloudflare. Your real origin is hidden behind Cloudflare's reverse proxy.
  • A record points to 76.76.21.x → Vercel.
  • A record points to 185.199.108–111.x → GitHub Pages.
  • NS records contain aws-dns → AWS Route 53 hosts the zone.
  • NS records contain cloudflare.com → the zone is on Cloudflare DNS (regardless of where origin runs).
  • MX record is aspmx.l.google.com → Google Workspace email.
  • MX record is outlook.com → Microsoft 365.
  • TXT record starts with v=spf1 → SPF policy. Use the email checker to grade it.
  • TXT record starts with v=DMARC1 → DMARC policy. Same.

What this tool cannot tell you

  • Whether the IP is reachable. An A record might point to an IP, but the server behind it might be offline. Use ping or check-host.net for reachability.
  • What runs at the IP. The DNS answer is just an address. Use DNSDumpster or run a port scan if you own the asset.
  • Geolocation. The IP block reveals an approximate region, but anycast IPs (Cloudflare, Google, Fastly) appear in many regions at once. IPinfo gives a rough geographic guess.
  • Historical DNS. We show what DNS returns right now. For historical records, paid services like SecurityTrails or DNSMap store snapshots.
  • Reverse DNS (PTR). Reverse lookups (IP → name) need a different query path; we don't run them automatically because most IPs don't have a meaningful PTR.

Caching, propagation, and why DNS changes "don't take effect"

If you've just updated a record and don't see it here, the issue is almost always TTL. When you change a record, every recursive resolver between you and the user keeps the old answer until its TTL expires. Cloudflare's resolver (this tool's source) usually catches up within a minute or two. Your ISP might take an hour. Mobile carriers can be appalling — multi-hour propagation is common. Browsers, OS resolvers, and apps each add their own caches on top.

To verify a change has propagated globally, check more than one resolver. whatsmydns.net queries dozens of locations at once. If they all agree, the change is live; if they disagree, you're mid-propagation.

Frequently Asked Questions

How is this different from running <code>dig</code> on my laptop?

dig uses whatever resolver your OS or VPN configured, which often caches and sometimes rewrites answers. This tool queries Cloudflare's public DNS-over-HTTPS resolver (1.1.1.1) directly, so the answer is what a fresh internet client would see. If a DNS change shows up here but not in your local dig, the problem is your local cache.

Why does the same domain show different IPs each time I check?

Most large services use round-robin DNS or anycast. A round-robin returns a different A record each query to balance load; anycast returns the same IP everywhere but routes you to the nearest data center. Both are normal. If you need a stable IP, you have to run your own DNS or use a managed service that offers stickiness.

What does it mean when AAAA returns nothing?

The domain does not have an IPv6 address configured. IPv6-only clients cannot reach it; dual-stack clients fall back to IPv4 transparently. If you operate the domain and want IPv6 reachability, ask your hosting provider or DNS host to add AAAA records — most major providers (Cloudflare, AWS, Google) do it automatically when given the option.

Why is the CNAME chain so long for my custom domain?

Many SaaS vendors layer CNAMEs for routing flexibility: your.domain → vendor-prod.example.com → vendor-edge.cdn.example.com → IP. Each layer lets the vendor change downstream infrastructure without you updating your DNS. The cost is a slightly longer first lookup; once cached, it's the same as a single record.

Can I look up a private (internal) domain?

No. We use a public DoH resolver, so we can only see public DNS. Internal domains (.local, .internal, RFC 1918 zones) live in your private resolver. Run dig @your-internal-resolver name.internal on your VPN.

What does TTL mean and why does it matter?

TTL (time-to-live) is the number of seconds resolvers may cache the record. A 300-second TTL means the answer is good for 5 minutes; a 86400 TTL means a full day. When you change a record, the world updates over the TTL window, not instantly. Operators set short TTLs ahead of planned changes and long TTLs once stable.

Why does the result show NXDOMAIN when I can clearly visit the website?

You probably have a typo, the domain has been moved to a different parent zone, or the operator pushed a misconfiguration that took the record out of public DNS while keeping it cached on their internal resolver. Verify the spelling, then check whether the issue is local-only by trying from a different network.

Are there rate limits?

Yes. We cache responses for 60 seconds at the edge so repeat lookups are free. For high-volume programmatic use, hit Cloudflare's DoH endpoint directly — it is free and very generous.

Can I look up reverse DNS (IP to name)?

Not from this page. Reverse DNS uses PTR records under the in-addr.arpa tree, which most IPs don't bother to set. If you need it, dig -x 1.2.3.4 from a terminal works and is the conventional way.