Free tool · Developer tools
Domain to IP
Type a domain name and get the IP addresses it points to: IPv4 and IPv6, with the alias chain and how long each answer may be kept. Two public DNS services are asked, so you can see where they differ.
- Free
- No sign-up
Sample: a recorded lookup of example.com from 21 Nov 2026. Press the button for a live result.
4 IP addresses2 IPv4 and 2 IPv6 for example.com
- 2 IPv4
- 2 IPv6
- Both services agree
- Shortest TTL 151 s
| Type | Address | Cached for (TTL) |
|---|---|---|
| IPv4 | 172.66.147.243 | Google 300 s Cloudflare 152 s |
| IPv4 | 104.20.23.154 | Google 300 s Cloudflare 152 s |
| IPv6 | 2606:4700:10::6814:179a | Google 300 s Cloudflare 151 s |
| IPv6 | 2606:4700:10::ac42:93f3 | Google 300 s Cloudflare 151 s |
- Good Both services returned the same set of addresses.
How to use the Domain to IP
- Type a domain, a web address or an email address into Domain name. Only the domain part is used.
- Press Find IP address and wait a second or two.
- Read the headline and the table: each address is shown with the cache time (TTL) each service reported.
- Open What to know for aliases, missing IPv6 or private addresses, and use Copy result to keep the list.
How do I find the IP address of a domain?
Enter the domain and press the button. The tool asks DNS, the internet's name directory, for two kinds of record. An A record holds an IPv4 address, four numbers separated by dots such as 192.0.2.1. An AAAA record holds an IPv6 address, which is 128 bits long (RFC 3596) and written in hexadecimal with colons. A site can have either kind or both.
An IP address is the number a computer uses to reach another computer. The domain name is only the label people remember. When you open a web page, your device first turns the name into an address by asking a DNS resolver, and then connects to that address. This tool performs only the first step, the lookup, and shows you what came back.
The headline gives the number of addresses, and the table lists each one with its type. Under it, short notes point out anything unusual: the name is an alias, there is no IPv6, or an address is private. The result is a list you can copy and paste into a firewall rule, a hosts file or a support ticket. For every other record type of the same name, such as MX or TXT, use the DNS lookup tool.
Why does one domain have several IP addresses, or different ones at each service?
A name may list several addresses, and each answer is whatever the name's own servers chose to return to that resolver at that moment. The recorded sample below shows it: for google.com, Google Public DNS returned 1 IPv4 address and Cloudflare 1.1.1.1 returned 6, and they were not the same addresses. Neither answer is wrong. Both are real addresses of that name.
That is why the tool asks two services and puts the results in one table. If both agree, the answer is stable. If they differ, the sets are two valid views of the same name, and a fix that relies on one specific address, such as an allow-list, needs a different approach, for example allowing the whole range the owner publishes.
The Cached for column is the TTL, the time to live, in seconds. RFC 1035 defines it as the time a record may be kept before it should be discarded or looked up again. A service that just asked the name's servers shows the full TTL, and one that answered from its cache shows what is left. In the sample, example.com showed 300 seconds at Google. A TTL of zero means the record should not be kept at all.
| Domain | IPv4 at Google | IPv4 at Cloudflare | IPv6 (Google / Cloudflare) | Alias |
|---|---|---|---|---|
example.com | 2 | 2 | 2 / 2 | No |
google.com | 1 | 6 | 1 / 4 | No |
www.github.com | 1 | 1 | 0 / 0 | Alias of github.com |
Run the same domain a few times and the numbers can move. The table is a record of one afternoon, not a promise about these sites.
What is an alias (CNAME) in the result?
An alias, or CNAME record, says that one name is just another name for a second name. The www.github.com row in the table shows it: asking for its addresses returns an alias to github.com, and the addresses belong to that second name. The tool follows the chain and prints it under the table so you can see every hop.
RFC 2181 says a name that has a CNAME record must not have other records of its own, apart from DNSSEC data. That is why the root of a domain usually cannot be an alias, and why a www name is the usual place for one.
An alias can also explain a surprise. If www and the bare domain give different addresses, check whether one of them is an alias that points somewhere else.
Does an IP address show where a website is?
No. A DNS answer shows an address that currently serves the name, not a building, a city or the site's owner. The same address can be reached from many places, and one site can use many addresses. This tool therefore prints no location.
To see which organization an address block is registered to, put the address into the IP lookup tool. It reads the registry record of the block and gives a network name and the registry's country code where one is published. To see the host name that an address announces for itself, use the reverse DNS lookup.
Some results are private. Addresses such as 10.x.x.x, 172.16.x.x to 172.31.x.x and 192.168.x.x are set aside for private networks (RFC 1918), and 127.x.x.x is the machine itself. IANA lists these as not reachable from the public Internet. If a public domain points at one, it works only inside one network, and the tool says so.
What does this tool send over the network, and to whom?
When you press the button, the domain name you typed is sent to two public DNS services: Google Public DNS and Cloudflare 1.1.1.1. Each gets two questions, one for IPv4 and one for IPv6. The requests go from your browser to those services, not through this site. Nothing is sent before you press the button, and the page has no other field to send.
Both services publish how they treat query data. Google's and Cloudflare's own privacy pages describe what they keep and for how long, and are the place to check it. If either service cannot be reached, for example because a browser extension blocks it, the tool says which one and shows the other.
Use it with
- MX Lookup: mail servers of a domain, in priority order.
- HTTP Header Checker: show response headers.
- Box Shadow Generator: visual CSS box-shadow builder.
Questions
How do I get the IP address of a website?
Type the domain into the tool and press Find IP address. The A records are its IPv4 addresses and the AAAA records are its IPv6 addresses.
Why does a domain show several IP addresses?
A name can list many addresses, and each answer shows what the name's servers returned at that moment. Two services may therefore show different sets, and both can be right.
What is the difference between IPv4 and IPv6?
IPv4 addresses are four numbers separated by dots. IPv6 addresses are 128 bits, written in hexadecimal with colons (RFC 3596). A site can publish one or both.
What does TTL mean next to an address?
It is the time to live in seconds: how long a DNS service may keep that answer before looking it up again (RFC 1035). A cached answer shows the time left.
Does the IP address tell me where the server is?
No. It names the address that serves the domain, not a place. The tool shows no location. The IP lookup tool shows who an address block is registered to.
Is the domain I type sent anywhere?
Yes, after you press the button. It goes from your browser to Google Public DNS and to Cloudflare 1.1.1.1, and nowhere else.
Sources
- Google Public DNS: DNS-over-HTTPS (DoH) JSON API, read
- Cloudflare 1.1.1.1: Make API requests (DNS JSON), read
- RFC 1035: Domain names, implementation and specification (TTL), read
- RFC 3596: DNS extensions to support IP version 6 (AAAA), read
- RFC 2181: Clarifications to the DNS specification (CNAME), read
- IANA IPv4 special-purpose address registry, read
How this page was made: the tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations were drafted with AI help and checked against the tool's own output.