If you've ever wondered why a website treats your connection differently from someone else's, the answer often starts with a few facts about the IP address you appear from: who owns it, what kind of network it sits on, and what the databases say about it.

You can look all of this up yourself in about two minutes. This post shows how, and what the results do and don't tell you.

The four things worth checking

What What it tells you Where to find it
ASN The network (autonomous system) that announces the address org field, e.g. AS15169
Organization / ISP The company behind that network org field, e.g. Google LLC
Reverse DNS (hostname) A name the owner may have set for the address hostname field or a PTR lookup
Network type Datacenter, residential, mobile or business Inferred, and sometimes wrong

The first three are facts you can read directly. The fourth is a judgment, and that is where people get misled, so we'll come back to it.

Step 1: find the address websites see

curl -s https://api.ipify.org 

If you use a VPN or proxy, this prints the address of that service, not your own. That is what you want to check.

Step 2: look up who owns it

curl -s https://ipinfo.io/8.8.8.8/json 

Replace 8.8.8.8 with your own address. A trimmed example of the response:

{ "ip": "8.8.8.8", "hostname": "dns.google", "city": "Mountain View", "country": "US", "org": "AS15169 Google LLC", "anycast": true } 

Reading it:

  • org is the most useful field. It combines the ASN (AS15169) and the organization name (Google LLC).
  • hostname is the reverse DNS entry. Owners often put clues here.
  • city is an estimate. IP geolocation is approximate and can be off by a lot, especially for mobile and cloud addresses.
  • anycast: true means the same address is announced from many places at once, so the "location" is not a single spot.

Annotated IP lookup result: org, hostname, city and anycast fields explained

Just want the hostname? Use a PTR lookup:

nslookup 8.8.8.8 

Step 3: read the clues

You are basically answering one question: is this a company that sells hosting, or a company that sells internet access to homes?

Signal Points towards
Organization is a cloud or hosting company Datacenter
Organization is a consumer ISP or telecom Residential or mobile
Hostname contains words like server, vps, cloud, compute Datacenter
Hostname contains words like dsl, cable, dyn, pool or your customer ID Residential
Organization is a university, company or government body Business or institutional

These are hints, not proof. Plenty of hosting companies use neutral hostnames, and some ISPs reuse the same range for different kinds of customers.

Two columns of clues: looks like datacenter versus looks like residential

Datacenter, residential and ISP residential

These are the three labels you will meet most often.

  • Datacenter: the address belongs to a hosting provider's network.
  • Residential: the address belongs to a residential network.
  • ISP residential: the address comes from an ISP's home broadband network.

Whether an address is shared or dedicated is a separate question. You can have a dedicated datacenter address or a shared residential one. If you want the longer version of that distinction, I covered it in my previous post on dedicated vs shared IPs.

Why different tools disagree

If two lookup tools label the same address differently, nothing is broken. Each service builds its own database from routing data, registry records, reverse DNS and its own scans, then decides how to classify each range. Ranges get re-assigned, reclassified and re-sold, and the databases update at different speeds.

So treat any single label as a strong hint. When it matters, check two sources and look at the organization name yourself.

A reusable script

Here is a small shell function that prints just the useful parts:

ipcheck() { ip="${1:-$(curl -s https://api.ipify.org)}" echo "IP: $ip" curl -s "https://ipinfo.io/$ip/json" | grep -E '"(hostname|org|country)"' | sed 's/^ *//' } # Your current address ipcheck # Any other address ipcheck 1.1.1.1 

If you would rather not use the terminal, any web-based IP lookup tool shows the same fields.

What you can and can't conclude

You can tell which company runs the network, whether it looks like a hosting provider or an access provider, and roughly which country it is registered in.

You can't tell, from a lookup alone:

  • how many people share the address,
  • how a particular website will treat it, since every service makes its own decisions,
  • exactly where the user is physically located.

Wrapping up

  1. Find the address with api.ipify.org.
  2. Look up org and hostname with ipinfo.io.
  3. Decide whether the owner sells hosting or access.
  4. Cross-check with a second source if the answer matters.

The labels are hints, but the habit of looking at the organization name is what makes them useful.

Disclosure: I work on AnboVPN, which offers shared IPs and dedicated IPs, so I'm biased. If you want to look up an address's ASN, ISP and network type in one place, we have a free IP lookup tool. Nothing above depends on it, and the commands work with any provider.

How do you check what kind of address you're on? I'd like to hear which tools you use.