Domain IP Lookup

Domain IP Lookup: Check What a Domain Resolves To

Enter a domain or URL to see the public IPv4 and IPv6 addresses it is currently publishing, along with the most relevant public DNS records.

Look up a domain
Results reflect the public DNS answers visible at the time of the request.

What a domain IP lookup shows

DNS maps a hostname to the addresses that clients connect to. This domain IP lookup asks public DNS resolvers for the A and AAAA records of the exact name you enter, and also for its NS, MX, CNAME and TXT records. The optional records appear only when the name publishes them.

A returned address may belong to a CDN, reverse proxy, load balancer, or edge layer rather than the origin application itself. It should be treated as a routing fact, not a guarantee that the server behind it is the only system involved. Learn more in the lookup methodology.

What you can type in the box

A bare name such as example.com works, and so does a full address such as https://example.com:8443/pricing?plan=pro. Before it asks DNS anything, the lookup removes the scheme, port, path and query string, drops a trailing dot, lowercases the name and turns Unicode labels into xn-- punycode.

Some input is refused before any query is sent: an IP address, a name with no dot such as localhost, text that contains spaces, a label longer than 63 characters, or a name longer than 253 characters. Names with underscores, such as _dmarc.example.com, are refused too, because this page is for hostnames. The DNS lookup accepts those.

How to read the results

An A record holds an IPv4 address and an AAAA record holds an IPv6 address. A name can publish several of each, and the order may change between queries because many providers rotate answers to spread traffic. The Primary IP box shows the first IPv4 address, or the first IPv6 address when there is no IPv4. It does not mean that server is the main one.

A lookup succeeds when at least one public IPv4 or IPv6 address comes back, so a name with only A records or only AAAA records is a success. The NS, MX, CNAME and TXT boxes are drawn only when they have values. A missing one is normal and does not mean the lookup failed.

Every address is filtered against private, loopback, link-local, cloud-metadata and other reserved ranges before it is displayed. If a name resolves only to such addresses, the lookup reports NXDOMAIN even though the name exists.

What each box contains

  • IPv4 and IPv6: the addresses the name resolves to, with duplicates removed. TTL is not shown on this page. The DNS TTL lookup shows it for A and AAAA records.
  • CNAME: filled only when the exact name you typed is an alias. It shows the next name in the chain, one hop only. The addresses above belong to the name at the end of the chain. Follow longer chains with the CNAME lookup.
  • NS, MX and TXT: requested for the exact name you entered. Nameservers and mail records usually sit on the bare domain, so www.example.com often shows none while example.com shows them. An MX entry is a priority followed by a mail server, such as 10 mail.example.com, and the lowest number is tried first. TXT strings that were split into several parts are joined into one line.
  • Resolved in: how long the whole lookup took on our server, including retries. It says nothing about how fast the site loads for you.

A worked example with invented values

The values below are documentation addresses, invented for illustration only. This lookup blocks those ranges, so you will never see them in real output. Suppose you enter https://Example.com:8443/pricing. The tool looks up example.com and might show this:

Primary IP192.0.2.10
IPv4192.0.2.10 and 192.0.2.11
IPv62001:db8::10
MX10 mail.example.com
NSns1.example.net and ns2.example.net

Two A records mean two servers, or a load balancer rotating between two addresses. The AAAA record means IPv6 is published as well, and most current clients will try it. Primary IP is only the first IPv4 entry, so a second lookup might list 192.0.2.11 first with nothing having changed. Nothing here says where either server is, who runs it, or whether it is the origin or an edge.

Edge address or origin server?

When a site sits behind a CDN or reverse proxy, the addresses in DNS belong to that provider and the origin server stays out of public view. A DNS answer cannot tell you which case you have. Two hints help. Many unrelated domains resolving to one address suggests shared infrastructure, which you can check by running your own list through the bulk lookup. The IP lookup and reverse DNS lookup can show the network operator and the PTR name for an address. A PTR record is optional and set by whoever controls the address, so treat both as hints, not proof.

Why two lookups can disagree

This page asks public resolvers such as Cloudflare and Google from our server, and falls back to the server's own resolver if those cannot be reached. Your laptop or phone may use a different resolver in a different place. Four causes explain most differences: a provider rotating several records, location-aware answers from DNS-based traffic steering, a cached answer that has not expired since a DNS change (the TTL sets how long), and private or split-horizon DNS, which public resolvers never see.

If a result looks wrong, run the lookup twice a minute apart, then compare with dig +short example.com or nslookup example.com on your own machine. Answers that differ only in order, or that pick from the same set of addresses, point to rotation. Answers that are completely different right after you edited a record usually mean the old TTL has not run out yet.

When a lookup fails: what each code means

A failed lookup shows a short code. Timeouts, SERVFAIL and REFUSED are retried automatically, up to three attempts in total with pauses of a fraction of a second that grow each time. NXDOMAIN and invalid input are never retried, because asking again would not change the answer.

NXDOMAIN

The name does not exist, or it exists without a usable A or AAAA record, or every address it returned was in a blocked range. This page reports all three as NXDOMAIN, so a name that has only MX records also lands here. Check the spelling and the registration first, then ask the DNS lookup which record types the name does have.

DNS_TIMEOUT

No answer arrived within the time limit, which is 5 seconds per query by default in the code. A slow or unreachable nameserver is the usual cause. Try again in a minute, and if it keeps happening, query the domain's own nameservers with dig example.com @ns1.example.net to see whether they answer at all.

DNS_SERVFAIL

The resolver could not produce a valid answer. Typical causes are a broken delegation, nameservers that are down, or a DNSSEC validation failure. Check that the nameservers listed at the registrar actually host the zone, and ask them directly.

DNS_REFUSED

A server declined to answer, often because of a policy on that server. Retry once. If the domain's own nameservers refuse the query, the zone may be misconfigured or not hosted there.

DNS_ERROR

The lookup failed in a way it could not classify. Try again, then compare with dig or nslookup to see whether the problem is the name or the lookup.

INVALID_DOMAIN

The text was not a public hostname, for example an IP address or a name without a dot. Fix the input and run it again.

What this lookup does not do

It returns the current public answer for one name. It does not show TTL, record history, DNSSEC status, the location or owner of an address, or internal DNS. Single lookups are limited per visitor address, by default to 100 requests per minute in the code, after which the page asks you to try again shortly. For a list of names use the bulk lookup, and for an address you already have use the IP lookup.

Guides that go further

Look deeper than the IP address