# What an ASN tells a website about your IP address

> An ASN tells a site which network owns your IP: a home ISP, a mobile carrier or a hosting company. A hosting ASN alone puts an IP at caution in Mosaic.

Source: https://mosaicbrowser.com/blog/what-an-asn-tells-a-website

## The ASN is the first line a site reads about your IP

An ASN tells a site which network owns your IP: a home ISP, a mobile carrier or a hosting company. A hosting ASN alone puts an IP at caution in Mosaic.

![+25: A hosting network adds 25 to the IP's risk score](https://mosaicbrowser.com/covers/what-an-asn-tells-a-website.webp)

An ASN tells a website which network your IP address belongs to and who runs it: a home broadband provider, a mobile carrier, a hosting company, a university. A site can read it the moment you connect, before a single line of its JavaScript runs, and the answer decides how hard it looks at everything else. In Mosaic's own IP score, a hosting network on its own is enough to move an IP from clean to caution.

## What an ASN is

An autonomous system is a network run under one routing policy, usually by one company. It announces to the rest of the internet which blocks of addresses it carries, and it is identified by a number, the ASN, handed out through one of the five regional internet registries: ARIN, RIPE NCC, APNIC, LACNIC and AFRINIC. The registry's record, readable through whois or RDAP, names the organisation behind the number.

So an address does not stand alone. It sits in a block, the block is announced by an AS, and the AS has an owner with a name. Your home connection's AS is your broadband provider. A rented server's AS is the hosting company. A phone on mobile data comes out of the carrier's AS.

## What a website learns from your ASN

From the number alone, a site learns the owner, and from the owner it infers the kind of network. IP-intelligence databases go one step further and label each network by type, so the lookup comes back as "consumer ISP", "mobile", "hosting" or "business" without anyone reading a name.

That type is the first line of the story a site tells itself about a visitor:

- A consumer ISP is where most real people browse from. A visit from one gets the benefit of the doubt, and whatever checks come next decide.
- A mobile carrier puts thousands of phones behind each public address through carrier-grade NAT, so blocking one address can block a crowd. Sites tend to be careful with these.
- A hosting company is where scripts, VPN servers and datacentre proxies live. Many consumer sites challenge such a visit at once, and some refuse it before the page loads.

It does not tell the site who you are, and its location is coarse: the registry's country for the organisation, which can differ from where the address actually is. Geolocation comes from a separate database.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: A new IP for every profile](https://mosaicbrowser.com/features/proxy-providers)

## How our IP check reads the same line

When Mosaic checks a proxy, it asks a geolocation service through that proxy who the IP is. The answer carries the address, the country and city, the ISP, the organisation, the AS, and a flag for whether the network is a hosting one. Those are stored with the check, and the proxy list shows them.

The IP score is a second, slower pass on that address. It is written in `src/main/proxy/reputation.ts`, and it is deliberately simple enough to explain in one paragraph:

| Finding | Points added |
| --- | --- |
| Each listing on a public blocklist | 25, up to 60 in total |
| A listing that names an open proxy or open mail server | 20 |
| A hosting network | 25 |
| No reverse DNS record | 5 |

At 25 points or more the IP reads caution, and at 60 or more risky. A hosting network decides the verdict by itself: 25 points with nothing else wrong puts an IP at caution.

"Hosting" is set two ways. The lookup's own hosting flag is one. The other is a list of words that hosting companies leave in their reverse DNS names and their ISP or AS names, among them `amazonaws`, `digitalocean`, `hetzner`, `ovh`, `vps`, `server` and `cloud`. A home connection's reverse DNS rarely contains any of them.

The blocklists are six public DNS-based lists that answer ordinary clients: SpamCop, Barracuda, SORBS, s5h, AnonMails and UCEPROTECT level 1. Spamhaus is left out on purpose. It answers queries from public resolvers with an error code instead of a listing, so asking it from a desktop would produce a confident wrong answer, and a check that lies is worse than a missing one.

On the local API the same pass is `POST /proxies/:id/reputation`.

## Where the ASN line misleads

The ASN describes who announces an address, not who is using it. A residential proxy rents a real home connection, so its ASN is a consumer ISP and the first line looks like any other visitor. Some IP-reputation services still know the address is being resold, and we found one Wichita IP that several detectors had already marked, which is in [the residential IP several detectors already knew](https://mosaicbrowser.com/blog/residential-ip-detected-as-proxy).

The opposite case is the "static residential" or ISP proxy: an address registered to a consumer ISP's AS but sitting on a server in a datacentre. Some are real ISP space, and some are hosting ranges sold under a friendlier label. How to tell them apart is in [the fake static residential proxy](https://mosaicbrowser.com/blog/fake-static-residential-proxies).

And a rotating endpoint hands out a different IP each connection, so a score for it is one sample of the pool. Mosaic's report says so in words, and points to a sticky session if you want to score the address a profile will actually use.

## Checking your own IP's ASN

On macOS or Linux, `whois 203.0.113.7` against the address prints the registry's record, including the organisation and usually the origin AS. For a proxy, check the IP, not the gateway's hostname, because the gateway is often a different network from the address sites see. Mosaic's proxy check does that for you, reading the IP through the proxy itself, and [how to check a proxy before you use it](https://mosaicbrowser.com/guides/how-to-check-a-proxy-before-you-use-it) walks through what each field means. For a pool of residential IPs, giving each profile its own session through [proxy providers](https://mosaicbrowser.com/features/proxy-providers) keeps each profile's ASN line its own.

## Questions

### What does an ASN tell a website?

Which network your IP address belongs to and who runs it: a home broadband provider, a mobile carrier, a hosting company, a university or a business. It says nothing about you personally and only roughly where you are.

### Can a website see my ASN?

Yes. The site sees your IP address on every connection, and looking up the network that announces that address takes a single query against public routing and registry data or an IP-intelligence database.

### Why do sites treat datacentre ASNs differently?

Ordinary people do not browse from server racks. Traffic from a hosting company's network is far more likely to be a script, a VPN or a proxy, so many sites challenge it sooner or block it outright before they look at anything else.

### Does a residential ASN mean my proxy will not be detected?

No. A residential proxy's IP sits on a consumer ISP's network, so the ASN line looks right, but IP-reputation databases also track which consumer addresses are being resold as proxies. The ASN is the first check, not the only one.

## Related

[The residential IP several detectors already knew](https://mosaicbrowser.com/blog/residential-ip-detected-as-proxy): A residential proxy can be detected as a proxy because it is one. On one Wichita IP, FingerprintJS and incolumitas never loaded in three rounds.

[When "static residential" is a relabelled datacenter IP](https://mosaicbrowser.com/blog/fake-static-residential-proxies): A static residential proxy whose ASN, ISP name or PTR record names a hosting company is a datacenter IP with a new label. Three lookups catch it.

[How to check a proxy before you use it](https://mosaicbrowser.com/guides/how-to-check-a-proxy-before-you-use-it): Check that a proxy answers and connects, where its IP really is, whether the address is residential or blocklisted, and that the browser stays behind it.

[Residential proxy: an IP on a home internet connection](https://mosaicbrowser.com/glossary/residential-proxy): A residential proxy sends your traffic out through an address an ISP assigned to a home connection, so sites see a household rather than a data center.

[Provider accounts: one proxy line, one IP per profile](https://mosaicbrowser.com/features/proxy-providers): Paste your proxy seller's line once and Mosaic makes a separate session for every profile, so each one browses from its own IP address.







[An ISP proxy lives in a data centre](https://mosaicbrowser.com/blog/are-isp-proxies-detectable): Are ISP proxies detectable? The registration reads residential; the server is in a data centre, and its uptime, latency and neighbours can say so.

## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy IP per profile. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
