Barry Murphy wrote:
I got this script from Paul of linuxsystems, grabs the APNIC IP database and compiles a list of NZ ip ranges:
[trim script] NB: This will not always work properly, in the case of multinationals that use IP space obtained through a single large registration that do not record their re-delegation information properly, or who have not chosen to make it public. For example, Stuff lives in 202.135.111.0/24. According to APNIC's DB, the closest match is the /16 supernet, which: % [whois.apnic.net node-2] % Whois data copyright terms http://www.apnic.net/db/dbcopyright.html inetnum: 202.135.0.0 - 202.135.255.255 netname: ATT-OPENNET-AP descr: Asia Pacific Operations descr: AT&T Global Network Services Japan LLC descr: Tokyo country: JP There are a couple of other exceptions where this also won't work as well. aj