Network & IP

IP address lookup

Look up any IP address to find its country, network operator, autonomous system number and reverse hostname.

Location data from MaxMind GeoLite2, maxmind.com

This tool has to query the outside world, so it runs on our server. Whatever you enter is used once for the lookup and then discarded — not logged, not stored.

What is IP address lookup?

An IP address does not tell you who is using it, but it does tell you which network it belongs to and where that network is registered. That is genuinely useful: finding out which provider an odd log entry came from, checking which country your own server is recognised as being in, or confirming that a VPN really changed your apparent location.

The tool looks up two things. First the country, from the MaxMind GeoLite2 database. Second the autonomous system number, which identifies the organisation that owns the address block, usually an internet provider, a hosting company or a large enterprise. The network number is considerably more reliable than the country, because it comes straight from routing registries rather than from inference.

It also resolves the reverse hostname, the name the address block owner assigned to that IP. Not every address has one, but when it does it often reveals the provider and even the data centre location. Plenty of addresses have no reverse name at all, and that is ordinary rather than suspicious.

A word on accuracy: country level is right roughly 95 to 99 percent of the time, but city level is only 55 to 80 percent, which is why this page does not show cities. For anycast addresses such as those Cloudflare uses, the same IP is live in dozens of countries simultaneously, so the question of where it is has no single answer.

How to use

  • Enter an IPv4 or IPv6 address.
  • Leave the field empty and use the button below to look up your own address.
  • Read the network line first, it tells you whether this is a residential connection, a mobile network or a rented server.
  • Compare the country against the registered country; a mismatch is common and expected for rented servers.

Frequently asked questions

The result shows the wrong location for me. Why?

IP geolocation infers a location from provider registrations, not from your device. If your provider registers a whole block in one city and then hands it out across a wide region, the result drifts. On mobile networks the drift is larger still.

Why does 1.1.1.1 have no country?

It is an anycast address: the same IP is announced from hundreds of locations worldwide, and you reach the nearest one. Assigning it a single country would be wrong in principle, so the database leaves it blank rather than guessing.

What is the network number for?

It identifies an independently operated network on the internet. When filtering abusive traffic, blocking by network number is far more effective than blocking individual addresses, because spammers rotate addresses constantly but rarely change provider.

Is an IP address personal data?

Under GDPR, yes, an IP address counts as personal data because it can indirectly identify someone. This site does not store the addresses you look up; each lookup reads a local database and returns the answer.