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.

Four-library lookup
LibraryCountryCityASNOrganisationMark
Waiting for the first answer.
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.

What four libraries agree on for the same IP
FieldReadingsDisagreementsWhat it means
Country720Stable enough to target on
City24 addresses10 different strings, 7 different citiesAn estimate, not a measurement
ASN920Stable enough to match a provider
Position fields24One library returned noneAn 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.

Cities named
AddressCities namedDistance
9.9.9.9Berkeley, Ashburn, San Franciscoabout 3,800 km
1.1.1.1Sydney, Brisbane, Brisbaneabout 730 km
71.192.0.1Clinton, Rockville, Bostonabout 700 km
51.75.0.1Roubaix, Gravelines, Roubaixabout 100 km
20.42.1.1Dulles, Dulles Town Center, Washingtonabout 40 km
73.158.0.1Berkeley, Berkeley, San Franciscoabout 18 km
8.8.8.8Mountain View, Mountain View, San Joseabout 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.

The org field is a registry address, not a brand name
AddressTwo libraries returnA third returnsWhat it shows
43.128.0.1Tencent Building, Kejizhongyi Avenue6 COLLYER QUAYShenzhen office against Singapore office, one record
108.61.10.1The Constant Company, LLCThe Constant Company, LLC, domain constant.comThe brand name is absent from every field
47.52.0.1Alibaba (US) Technology Co., Ltd.Alibaba Cloud - HKSame holder, one with a region tag bolted on
1.1.1.1Cloudflare, 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.

Where the address sits is not where the ASN is registered
AddressAddress locationASN registered inWhy they differ
3.5.140.1Incheon, KRUSCloud blocks administered by a US registry
47.52.0.1Hong Kong, ChinaCNInternational block of a Chinese cloud
43.128.0.1Hong Kong, ChinaCNSame pattern, second provider
173.212.192.1Lauterbourg, FRDEGerman entity, French datacentre
1.1.1.1Sydney, AUUSAnycast: 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.

What 103 free proxy IPs turn out to be
Network name reads asASNsAddressesAccepted a TCP connection
Hosting or cloud215236
Residential or carrier243114
Undecidable from the name10205

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.

Network
ASNNetworkAddressesConnected
AS45102Alibaba2221
AS46562Performive99
AS22773Cox Communications66
AS219326SULAVI LTD50
AS64080SYN LTD40

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.