ASN classification
Every IP belongs to an autonomous system, and the AS tells you a lot before you look at anything else. GeoIPHub maintains a curated table of 890 hosting ASNs — networks whose business is renting servers, not connecting households — plus 14 ASNs operated by VPN providers, and separate tables for satellite, anycast, and CDN networks.
The BGP/ASN table is rebuilt every 3 days from the global routing table, so an IP that moves between networks is reclassified within days, not quarters.