
What an ASN tells you
An autonomous system number (ASN) identifies a group of IP networks that one operator routes under a single policy. The operator announces its IP ranges, called prefixes, to neighboring networks over BGP, and routers across the internet use those announcements to pick a path to each address.
The AS holder tells you whose network an address sits in. A residential IP maps to a telecom operator, and a VPS address maps to a host such as Hetzner (AS24940). Anti-fraud systems score logins from hosting ASNs as riskier, so a site will challenge a proxy on a data center AS more often than one on a mobile carrier.
When you need it
- See who is hosting an IP from your server logs or a proxy list
- Map an AS number to its IP ranges before you block or allow a hosting company in a firewall
- Check whether a proxy address belongs to a home ISP or a data center before you use it
- Confirm which AS originates your own prefix after you move it to a new provider
AS number formats and who assigns them
IANA hands out blocks of AS numbers to the five regional internet registries (ARIN, RIPE NCC, APNIC, LACNIC and AFRINIC), and they assign numbers to operators. The Registry field in the result names the source, for example "Assigned by ARIN" for AS13335 and "Assigned by RIPE NCC" for AS24940. The first AS numbers were 16-bit, from 1 to 65535. RFC 6793 extended the space to 32 bits, up to 4294967295, and registries now hand out both kinds. Type the plain decimal number with or without the AS prefix: AS16509, as16509 and 16509 return the same result. The form rejects dotted notation, so convert it first. Multiply the part before the dot by 65536 and add the part after it, which turns 3.10 into 196618.
How to read an ASN lookup result
Enter an IP and you get the host name from its PTR record, the announced network that contains the address, the origin ASN, the AS holder, and the country and city from the MaxMind GeoLite data that RIPEstat serves. The network links to the subnet calculator, and the ASN link opens the AS view. Enter an AS number and you get the holder, whether the AS announces routes, its registry and the IPv4 and IPv6 prefixes it originates. Try AS13335 for Cloudflare or AS15169 for Google. An IP such as 8.8.8.8 gives both parts in one run: the address details first, then the prefix list of AS15169. The page keeps your query in the address bar, so you can share a link like advanced.name/ip/asn?q=AS16509 and it opens the Amazon result.
Using an ASN prefix list in firewall rules
To block or allow a whole hosting company, look up its AS number and copy the prefixes into an ipset or an nftables set. The page lists prefixes as links and has no export button. For an AS with thousands of networks, write a short script against the RIPEstat ris-prefixes API and skip the copying. Operators add and withdraw routes, so rebuild the list on a schedule. Think before you block a cloud AS such as AS16509. Corporate VPNs run there as well as proxies, and you can lock out real users.