Use GeoIP database
When we want to know ASN or other info about an IP address, we currently use whois in several scripts. We have an offline GeoIP database which reportedly contains the same information and it would be much more reliable and faster. Use that one instead.