ToolNimba

๐ŸŒ Domain to IP: Find the IP Address of Any Domain

Shihab Mia By Shihab Mia ยท Updated 2026-07-10

Enter a bare domain. Any https://, www. or trailing path is stripped automatically.

Type a domain such as example.com and press Find IP address to look up its IPv4 and IPv6 records.

To convert a domain to an IP address, enter the domain (for example example.com) and this tool runs a live DNS query, returning the IPv4 A record such as 93.184.216.34 and the IPv6 AAAA record such as 2606:2800:220:1:248:1893:25c8:1946 side by side, each with its TTL. It queries the current published address rather than a stale cached value, so you see what the internet resolves right now. Paste a full URL if you like; the protocol, the www prefix and any path are stripped automatically so only the domain is resolved. Everything happens in your browser with no account and no API key required.

What is the Domain to IP?

Every website lives on a server, and every server on the internet is reached through a numeric IP address. People remember names like example.com, but computers route traffic using numbers such as 93.184.216.34. A domain to IP lookup is the bridge between the two: it asks the Domain Name System (DNS), the internet's global address book, which IP address a given domain currently maps to. When you type a domain into this tool and run it, you are performing the same first step your browser performs every time you open a site.

DNS stores several kinds of records for a domain, and two of them carry IP addresses. The A record holds the IPv4 address, the familiar four-number format like 192.0.2.10. The AAAA record (read as "quad-A") holds the IPv6 address, the newer and much longer format like 2606:2800:220:1:248:1893:25c8:1946 that exists because the world ran out of free IPv4 addresses. A single domain can have several A and AAAA records at once, which is normal for large sites that spread traffic across many servers or sit behind a content delivery network. This domain to IP tool lists every address it receives so you see the full picture, not just the first one.

It is worth understanding that a domain and an IP address are not always a tidy one-to-one pair. Many domains share a single IP through virtual hosting, where one server answers for hundreds of sites and uses the requested hostname to decide which one to serve. Conversely, one busy domain may rotate through dozens of IPs for load balancing. If the site sits behind a service like Cloudflare, the IP you see belongs to that provider's edge network rather than the origin server, which is by design and helps hide and protect the real host. So the IP returned by any domain to IP lookup is the publicly published answer, which is exactly what you usually want, but it is not always the physical machine the content lives on.

DNS answers are also cached. Each record carries a TTL (time to live) value, measured in seconds, that tells resolvers how long they may reuse the answer before checking again. That is why a freshly changed domain can still resolve to an old IP for a while: somewhere along the chain a cached copy has not yet expired. A TTL of 300 means five minutes, 3600 means one hour, and 86400 means a full day. This tool queries a public resolver directly and shows the TTL alongside each record, so you can judge how fresh the answer is and roughly how long it will be reused.

Under the hood, this domain to IP converter uses DNS over HTTPS (DoH) against Google Public DNS. Instead of the traditional plain UDP query on port 53, the lookup is sent as an ordinary HTTPS request to dns.google and the answer comes back as JSON. DoH is encrypted, works from inside the browser without any plugin, and is supported with permissive cross-origin headers so a static page like this one can call it directly. That is what lets the whole tool run client-side, for free, with no server of our own and no key to manage. Because the query goes to the same resolver millions of people use, the answer reflects the public, authoritative view of the domain.

Knowing a domain's IP address is useful far beyond curiosity. Network administrators use it to confirm that a DNS change has propagated, to add a firewall rule, or to check that a domain points where it should after a migration. Security analysts map suspicious domains to their hosting to spot patterns and shared infrastructure. Developers verify that staging and production point to the right servers. Anyone troubleshooting a site that "works for me but not for you" can compare the IP each person resolves to and quickly tell whether the problem is DNS, caching, or the server itself. In every one of these cases, a fast domain to IP lookup is the quickest way to turn a name into an actionable address.

When to use it

  • Confirming a DNS change has taken effect after moving a site to a new host, by checking the domain now resolves to the new IP address.
  • Finding the IPv4 and IPv6 addresses of a website before adding a firewall, allowlist, or hosts-file entry.
  • Troubleshooting a site that loads for some visitors but not others, by comparing the IP each location resolves to.
  • Checking whether a domain sits behind a CDN such as Cloudflare, since the returned IP belongs to the provider rather than the origin.
  • Verifying that staging and production domains point to the correct servers during a deployment or migration.
  • Quickly mapping a domain to its hosting IP for a security or due-diligence review without installing command-line tools.

How to use the Domain to IP

  1. Type or paste the domain you want to check into the box, for example example.com. A full URL is fine; the protocol, www and path are removed automatically.
  2. Press the Find IP address button (or hit Enter). The tool does not run on page load, so nothing is queried until you ask for it.
  3. Wait for the brief loading message while the live DNS lookup runs against Google Public DNS over HTTPS.
  4. Read the results: IPv4 addresses from the A record appear on the left, IPv6 addresses from the AAAA record on the right, each with its TTL.
  5. Use the Copy button next to any address to copy that exact IP to your clipboard.
  6. If you see a friendly "no records" message, double-check the spelling, as the domain may be unregistered or have no public IP.

Formula & method

There is no math here; the data comes straight from live DNS. When you submit a domain, the tool sends two DNS over HTTPS requests to Google Public DNS: GET https://dns.google/resolve?name=DOMAIN&type=A for the IPv4 address and the same with type=AAAA for the IPv6 address. Google returns JSON containing an "Answer" array, and each entry with type 1 is an A (IPv4) record while each entry with type 28 is an AAAA (IPv6) record; the "data" field of each is the IP address shown. A "Status" of 0 means success, and an "error" field or empty answer means no matching record was found. The same lookup can be reproduced on the command line with: nslookup example.com, dig example.com A, or dig example.com AAAA.
Domainexample.comDNS over HTTPSdns.googleA + AAAA queryIPv4 (A)93.184.216.34IPv6 (AAAA)2606:2800:220::1

Worked examples

You want the IPv4 address of a plain domain and you paste a full URL by mistake.

  1. Paste https://www.example.com/page?ref=home into the box.
  2. The tool strips the https://, the www. and the /page?ref=home, leaving example.com.
  3. Press Find IP address to send the A record query to Google Public DNS.
  4. The A record comes back and the IPv4 address is shown with its TTL.

Result: The cleaned domain example.com is resolved to its current IPv4 address, ready to copy.

You are checking whether a domain has IPv6 enabled.

  1. Enter the domain, for example cloudflare.com.
  2. Run the lookup, which queries both the A and the AAAA record at once.
  3. Look at the IPv6 (AAAA) panel on the right.
  4. If one or more IPv6 addresses appear, the domain is reachable over IPv6.

Result: The AAAA panel either lists IPv6 addresses (IPv6 is enabled) or shows "No IPv6 records found".

You just repointed a domain to a new server and want to confirm the change.

  1. Enter the domain you changed.
  2. Run the domain to IP lookup and note the IPv4 address returned.
  3. Compare it to the new server's expected IP address.
  4. Check the TTL value to estimate how long old cached answers may linger elsewhere.

Result: If the shown IP matches the new server, the change has propagated to Google Public DNS at least.

DNS record types involved in a domain to IP lookup

RecordNumeric typeWhat it returnsExample
A1IPv4 address of the domain93.184.216.34
AAAA28IPv6 address of the domain2606:2800:220:1:248:1893:25c8:1946
CNAME5An alias pointing to another name (resolved further to an A/AAAA)shop.example.com to example.com
NS2The authoritative name servers for the domainns1.example.net

IPv4 versus IPv6 at a glance

AspectIPv4 (A record)IPv6 (AAAA record)
FormatFour numbers, dotted decimalEight groups of hex, colon separated
Example192.0.2.102001:db8::1
Address spaceAbout 4.3 billion addressesAbout 340 undecillion addresses
StatusStill dominant, addresses exhaustedGrowing, designed to replace IPv4

Common TTL values and what they mean

TTL (seconds)In plain termsTypical use
300Five minutesSites expecting frequent IP changes or failover
3600One hourA common balanced default
86400One full dayStable records that rarely change
0 or 60Instant or one minuteSet low just before a planned migration

Common mistakes to avoid

  • Assuming the returned IP is the real origin server. If a domain uses a CDN or reverse proxy such as Cloudflare, Fastly or Akamai, the IP you get back belongs to that provider's edge, not the machine hosting the files. This is intentional and protects the origin, so do not treat the visible IP as the physical host.
  • Expecting one domain to have exactly one IP. Large sites publish several A and AAAA records for load balancing and redundancy. Seeing multiple addresses is normal and healthy, not an error. This tool lists all of them rather than only the first.
  • Forgetting that DNS answers are cached. A recent DNS change may not appear everywhere immediately because resolvers reuse cached answers until the TTL expires. If an IP looks out of date, the TTL value shown tells you how long the old answer may still be served.
  • Including the protocol or path in the domain. A DNS query needs a hostname, not a URL. Entering https://example.com/page works here because the tool cleans it, but a raw DNS command would fail. Always resolve the bare domain such as example.com.
  • Confusing no IPv6 record with the site being down. Plenty of perfectly working domains have no AAAA record yet. An empty IPv6 panel simply means the domain is not published over IPv6, not that it is broken.
  • Trying to resolve a subdomain that does not exist. A typo in the subdomain (such as wwww instead of www, or an internal-only host) returns no records. Check the exact hostname before concluding the domain has no IP address.

Glossary

Domain to IP
The process of looking up which IP address a given domain name currently points to, using DNS.
IP address
A numeric label that identifies a device or server on a network so traffic can be routed to it.
DNS
The Domain Name System, the internet's distributed directory that translates domain names into IP addresses.
A record
A DNS record that maps a domain name to its IPv4 address.
AAAA record
A DNS record that maps a domain name to its IPv6 address, read aloud as "quad-A".
TTL
Time to live, the number of seconds a DNS answer may be cached and reused before being looked up again.
DNS over HTTPS (DoH)
A method of sending DNS queries inside encrypted HTTPS requests, which lets this tool resolve domains directly from the browser.
CDN
A content delivery network of edge servers; when a domain uses one, the resolved IP usually belongs to the CDN rather than the origin host.
CNAME
A DNS alias record that points one name at another name, which is then resolved onward to an A or AAAA record.
DNS propagation
The time it takes for a DNS change to be seen everywhere as old cached answers expire across the world's resolvers.

Frequently asked questions

How do I convert a domain to an IP address?

Enter the domain into this domain to IP tool and press Find IP address. It runs a live DNS query and returns the IPv4 (A record) and IPv6 (AAAA record) addresses the domain points to. You can also do it on the command line with nslookup example.com or dig example.com A.

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

An A record stores the IPv4 address of a domain, such as 93.184.216.34, while an AAAA record stores the IPv6 address, the longer hexadecimal format such as 2001:db8::1. Many domains have both; this domain to IP lookup shows each set in its own panel.

Why does one domain return several IP addresses?

Large websites publish multiple A and AAAA records so traffic can be spread across several servers for load balancing and redundancy. Seeing more than one IP is completely normal, and this tool lists every address that DNS returns.

Is the IP address I get the real server behind the website?

Not always. If the domain uses a CDN or proxy like Cloudflare, the IP belongs to that provider's edge network, not the origin server. The address shown is the publicly published answer, which is what your browser would use, but it may not be the physical host.

Why does my recent DNS change still show the old IP?

DNS answers are cached for the length of their TTL, so until that timer expires resolvers keep serving the previous IP. This tool shows the TTL next to each record so you can see how long an old answer may still be reused before it refreshes.

Where does this domain to IP tool get its data?

It queries Google Public DNS over HTTPS (the dns.google JSON API) directly from your browser. That service is free, needs no key, and is the same global DNS infrastructure that resolves names for millions of users.

Is this domain to IP lookup free and private?

Yes. The tool is completely free, needs no signup or API key, and runs in your browser. The only network request is the DNS lookup itself to Google Public DNS; we do not store the domains you check or run any server of our own.

Can I look up the IP of a subdomain?

Yes. Enter the full hostname, for example blog.example.com or mail.example.com, and the tool resolves that exact name. If the subdomain has no A or AAAA record you will see a friendly no-records message.

What does it mean when no IP address is found?

It usually means the domain is not registered, is misspelled, or has no public A or AAAA record. Double-check the spelling and try the bare domain. Some domains exist only for email or other services and have no website IP.

Does entering a full URL work, or do I need just the domain?

Either works. This domain to IP converter automatically strips the protocol (https://), the www prefix, and any path or query string, so pasting https://www.example.com/page resolves the same as example.com.

How is a domain to IP lookup different from a reverse IP lookup?

A domain to IP lookup starts with a name and returns its IP address using A and AAAA records. A reverse IP lookup does the opposite: it starts with an IP address and tries to find the name (a PTR record) or the other domains hosted on it. This tool performs the forward domain to IP direction.