How it works
When the page loads, your browser makes three requests at once:
- To our server (running on Cloudflare), for the details of the connection it just made. The address it sees is the one your browser chose for this visit, marked “Used for this visit”. The details below it describe that address.
- To Cloudflare’s 1.1.1.1 service over IPv4 (https://1.1.1.1), which replies with the IPv4 address it saw.
- To the same service over IPv6 (https://[2606:4700:4700::1111]), which replies with the IPv6 address it saw.
Each of the last two can only be reached over one IP version, so together they show whether your network has working IPv4, IPv6 or both. If one fails, gets no answer within 4 seconds or replies without a readable address, that row shows “Not detected”. These two requests send no cookies and don’t tell Cloudflare which page they came from. Their answers go straight to your browser and never reach our server, so we have nothing to store.
The page then shows:
- IPv4 and IPv6 addresses: your network’s public addresses, not the private addresses of your device. IPv4 is four numbers separated by dots; IPv6 is hexadecimal groups separated by colons.
- ISP or network and ASN: the organization that announces the address block on the internet, and its autonomous system number (ASN). For home and office connections this is usually the internet provider; behind a VPN it is the VPN’s hosting network.
- Approximate location and time zone: from Cloudflare’s IP geolocation data. See “Why the location is approximate” below.
- Reverse DNS (PTR): the host name, if any, that the owner of the address block has published for it. Many addresses have none.
- Cloudflare data center: the airport code of the Cloudflare location that handled your request, usually one near you or your provider’s network.
“Not detected” means that check didn’t get a usable answer from this browser on this network at this moment. A firewall, VPN or browser extension that blocks 1.1.1.1 can cause it too, so check from another device before concluding the network lacks it.
Worked example
Say the result reads:
- IPv4: 203.0.113.45
- IPv6: 2001:db8::1, used for this visit
- About the IPv6 address used for this visit: ISP or network Example Fiber, autonomous system AS64500
- Approximate location: San Jose, California, United States, time zone America/Los_Angeles
- Reverse DNS (PTR): host-45.example.net
- Cloudflare data center: SJC
This network is dual stack: it has a public address of each kind, and the browser chose IPv6 for this visit. Sites and services that only support IPv4 see 203.0.113.45. The reverse DNS name follows a pattern providers often use for customer addresses. The city is where the address block appears in geolocation data, which may be the provider’s hub rather than the office. If the office needs a fixed address for firewall allowlists or a VPN, ask the provider whether 203.0.113.45 is static, and allow the IPv6 address or range as well, since connections can arrive over either. (The addresses, ASN and names here come from ranges reserved for documentation.)
What is a public IP address?
An IP address identifies a connection point on a network. A public address is routable on the internet and unique at any moment: servers send replies to it. Internet providers get public addresses from regional internet registries and assign them to customers.
Private addresses (10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 for IPv4, set out in RFC 1918) are reused inside millions of networks and never appear on the internet. Your router connects the two.
IPv4 and IPv6
IPv4 addresses are 32 bits long, written as four numbers from 0 to 255 such as 203.0.113.45, which allows about 4.3 billion addresses. The registries have run out of new IPv4 space, so blocks are now transferred or leased between organizations.
IPv6 addresses are 128 bits long, written as eight groups of hexadecimal digits such as 2001:db8::1 (runs of zeros are shortened to ::). There are enough for every device to have its own public address, so IPv6 networks usually don’t need address translation. Many networks run both (dual stack).
Why the location is approximate
An IP address carries no location. Geolocation databases estimate one from registry records, provider data and network measurements, and update as blocks move. The result is often right about the country, less often about the city, and can point to the provider’s data center or the registered address of the block. It is never your street address.
NAT and carrier-grade NAT
Network address translation (NAT) lets many devices share one public IPv4 address: the router rewrites each outgoing connection’s source address and keeps track of replies. Some providers, mostly mobile and some fixed wireless and broadband networks, add a second layer called carrier-grade NAT (CGNAT), so many customers share one public address. Those networks often hand customer routers an address from the shared range 100.64.0.0/10 (RFC 6598).
If your router’s WAN (internet) address differs from the public IP shown here, another layer of NAT sits upstream: CGNAT if the WAN address is in 100.64.0.0/10, or a second router or the provider’s modem if it is a private address. That matters for hosting services, port forwarding and site-to-site VPNs, which need a public address that is yours alone.
VPNs, proxies and private relays
A VPN, proxy or privacy relay (such as iCloud Private Relay) sends your traffic through its own servers, so websites, including this one, see the service’s address, network and location instead of yours. Corporate networks that route all internet traffic through a central firewall or a cloud security service show that site’s address. Disconnect the VPN or check from another network to see the address your provider assigned.






