IP Location Lookup — With ASN, Hosting and Anycast Flags
An IP location lookup answers four questions at once: where the address is, which network announces it, who holds the registry record, and whether that network sells hosting rather than broadband. The first is an estimate, the second is a number, the third is a record.
Four libraries in one pass make the difference visible. Twenty-four addresses were compared, covering anycast resolvers, hyperscale clouds, VPS hosts, residential lines and two measured exits. The country agreed in every reading. The city did not.
Read the country and the ASN, then the mark. Treat a city as a coordinate some vendor chose.
Twenty-four addresses, four libraries: 72 country readings with no split, 10 of 24 addresses with a different city, 92 ASN readings with no split.
probed
Four-library lookup
One address, four libraries. Leave it empty to look up this browser.
Not run yet.
| Library | Country | City | ASN | Organisation | Mark |
|---|
Run the lookup to produce a copyable result.
Each run sends the address to four public libraries and prints what they return: ipapi.co, ipinfo.io, ipwho.is and ip.guide. The hosting, eyeball and unclassified marks are derived from the ASN organisation name by a keyword rule, not read from a field. Only one library publishes the anycast flag. Nothing you type is stored or sent anywhere else.
1. What four libraries agree on for the same IP
Country and ASN are stable fields and city is not. Across 72 country readings there was no disagreement at all, and across 92 ASN readings the same. City disagreed on 10 of 24 addresses, and seven of those named cities hundreds of kilometres apart.
The reason is structural: a registry block is assigned to an organisation in a country, so country and ASN come from one record and cannot drift. A city is an interpolation each vendor makes alone.
| Field | Readings | Disagreements | What it means |
|---|---|---|---|
| Country | 72 | 0 | Stable enough to target on |
| City | 24 addresses | 10 different strings, 7 different cities | An estimate, not a measurement |
| ASN | 92 | 0 | Stable enough to match a provider |
| Position fields | 24 | One library returned none | An ASN directory is not a map |
One pass, four libraries, 09:49Z, each queried once per address about 120 ms apart over HTTPS.
The last row decides how the rest is read. One library is an ASN directory and returns no position at all: 24 addresses, 24 nulls, plus a 404 for a range it holds no record for. Its ASN data was the cleanest of the four, which makes it a different product rather than a defect.
| Address | Cities named | Distance |
|---|---|---|
| 9.9.9.9 | Berkeley, Ashburn, San Francisco | about 3,800 km |
| 1.1.1.1 | Sydney, Brisbane, Brisbane | about 730 km |
| 71.192.0.1 | Clinton, Rockville, Boston | about 700 km |
| 51.75.0.1 | Roubaix, Gravelines, Roubaix | about 100 km |
| 20.42.1.1 | Dulles, Dulles Town Center, Washington | about 40 km |
| 73.158.0.1 | Berkeley, Berkeley, San Francisco | about 18 km |
| 8.8.8.8 | Mountain View, Mountain View, San Jose | about 15 km |
9.9.9.9 is the extreme case and the instructive one: three libraries, three cities, opposite coasts of the United States. It is anycast, so all three answers are defensible and none describes a device. Only one library carries the flag that says so.
2. The org field is a registry address, not a brand name
Every library returns the holder of the registry record, and that holder is often a street address rather than a name anyone recognises. One address produced four strings, two of them postcodes and street names.
| Address | Two libraries return | A third returns | What it shows |
|---|---|---|---|
| 43.128.0.1 | Tencent Building, Kejizhongyi Avenue | 6 COLLYER QUAY | Shenzhen office against Singapore office, one record |
| 108.61.10.1 | The Constant Company, LLC | The Constant Company, LLC, domain constant.com | The brand name is absent from every field |
| 47.52.0.1 | Alibaba (US) Technology Co., Ltd. | Alibaba Cloud - HK | Same holder, one with a region tag bolted on |
| 1.1.1.1 | Cloudflare, Inc. | Apnic Research And Development, while its own isp field says Cloudflare, Inc. | One library contradicts itself inside one record |
The second row is the practical consequence. Someone who buys a server from a brand and looks up the address sees a company they have never heard of, on a domain that is not the brand's site.
So match the number. AS20473 is the same network whichever name a library prints beside it, and the ASN was the only field that did not disagree once in 92 readings.
3. Where the address sits is not where the ASN is registered
Five of the 24 addresses sit in one country and belong to an ASN registered in another, which is why one country column is never enough.
Two mechanisms produce it: a cloud provider buys space from a registry in one economy and deploys it wherever capacity is cheapest, and an anycast address is announced from many places at once, so its registry country describes the holder rather than the route.
| Address | Address location | ASN registered in | Why they differ |
|---|---|---|---|
| 3.5.140.1 | Incheon, KR | US | Cloud blocks administered by a US registry |
| 47.52.0.1 | Hong Kong, China | CN | International block of a Chinese cloud |
| 43.128.0.1 | Hong Kong, China | CN | Same pattern, second provider |
| 173.212.192.1 | Lauterbourg, FR | DE | German entity, French datacentre |
| 1.1.1.1 | Sydney, AU | US | Anycast: the registry has no route to describe |
For geo-targeting use the location field, because that is what a target site sees. For due diligence use the registration, because it names the entity that can be complained to. Neither answers the other's question.
The two Hong Kong rows are formatted Hong Kong, China rather than beside countries: the location is HK while the registration is held in CN, and it is not a separate country.
4. What 103 free proxy IPs turn out to be
Half the addresses in a public free proxy list sit in networks whose own name says hosting, and one cloud provider accounts for a fifth of the list. The sample is 103 unique addresses from a 277-endpoint list probed in the same session.
Each address was resolved to an ASN and the name was read for a hosting or carrier signal. That is a name test, not a port test: it decides 45 of the 55 ASNs and leaves the rest undecided.
| Network name reads as | ASNs | Addresses | Accepted a TCP connection |
|---|---|---|---|
| Hosting or cloud | 21 | 52 | 36 |
| Residential or carrier | 24 | 31 | 14 |
| Undecidable from the name | 10 | 20 | 5 |
103 unique addresses, 55 ASNs, 23 countries. Reachability means a completed TCP connection plus a successful CONNECT, measured in the same session.
Concentration is the finding. AS45102 alone holds 22 of the 103 addresses and 21 of the 55 endpoints that accepted a connection.
| ASN | Network | Addresses | Connected |
|---|---|---|---|
| AS45102 | Alibaba | 22 | 21 |
| AS46562 | Performive | 9 | 9 |
| AS22773 | Cox Communications | 6 | 6 |
| AS219326 | SULAVI LTD | 5 | 0 |
| AS64080 | SYN LTD | 4 | 0 |
The third row needs a warning rather than a conclusion. Six addresses sit in a large American cable network and all six accepted a connection. A residential ASN in a public list usually means a device was reachable, not offered, so treat the address as compromised.
Ten ASNs and twenty addresses could not be decided from the name at all. That is the ceiling of this method, and why the table keeps an undecided row. A hosting mark tells you what a network is called; only a port test tells you what it does, which is what the proxy list measures.
Frequently asked
Why do four libraries name different cities for the same IP?
Two reasons stack. City is estimated from a registry block, not measured, so each vendor maps the same block to a different point. And on anycast there is no single location to report: 9.9.9.9 came back as Berkeley, Ashburn and San Francisco in the same minute, roughly 3,800 km apart. Country agreed in all 72 readings.
Does the ASN tell me who the provider is?
Not by name. An ASN is a routing unit, and the organisation attached to it is whichever legal entity holds the registry record. The addresses of one large VPS brand resolve to The Constant Company, LLC, and the brand appears only in the ASN short name. Match the number, not the name you expect.
Can an IP lookup tell me whether an address is a proxy?
No free field answers that. The one library exposing proxy and hosting booleans serves them over plain HTTP only and answers 403 over HTTPS, so a page loaded over HTTPS cannot read them. What can be read is the network: a hosting ASN, an anycast flag, a registry name shaped like a hosting company. A signal, not a verdict.
Why does this page write Hong Kong, China instead of a country name?
Because the location field returns HK while the ASN is registered in CN, and the two cannot be flattened into one country column. Hong Kong is part of China, so the tables print Hong Kong, China wherever a library returns HK, and never count it as a separate country.