nanog mailing list archives

Re: IP->Country Data (RE: ISP's Contact List)


From: Hank Nussbacher <hank () efes iucc ac il>
Date: Mon, 13 Jun 2005 21:44:11 +0300 (IDT)


On Mon, 13 Jun 2005, william(at)elan.net wrote:

I suspect your completewhois does not take into account ERX data:
http://www.ripe.net/projects/erx/
Huge swaths of IP space were moved around between RIRs from Jan 2003-Apr
2005:
http://www.ripe.net/projects/erx/erx-ip/completed.html

If you want specific examples, contact me off-list.

Regards,
Hank

FYI - It maybe of interest here to know that completewhois provides this
data. For determining ip->country placement only RIR data on direct ip
allocations and assignments is used, so if ip block is listed as having
been allocated to company with corporate address in Jamaica but is used in
US, the block will show up as JM. That also avoids issue of having others
blame me for bad data as algorithm for how its generated is easily confirmed
with RIR whois and in 98% this does provide sufficiently good data. Our
lists are regenerated EVERY DAY and available at:
  http://www.completewhois.com/statistics/data/ips-bycountry/rirstats/

Even though I've never promoted this, it actually is getting rather used
and I've had at least dozen requests this year along to make data
available though means other then raw text file. So you might as well be
first to know that 3 days ago this was finished and data is now available
for verification by dns. You can now do lookup in RBL style to
  <reverse-ip>.country-rirdata.dnsiplists.completewhois.com

(i.e. for my 216.151.192.1 dns server ip, it would be lookup at
  1.192.151.216.coutry-rirdata.dnsiplists.completewhois.com)

For TXT lookups it will tell you country code and country name, i.e.
"US - United States". For RBL "A" lookups it will answer with 127.0.a.b
where a and b are ascii representation of 1st and 2nd letter of country
code, so for example for US this would be 127.0.85.89

Complete list of these codes and instructions are at:
  http://www.completewhois.com/statistics/data/ips-bycountry/rirstats/README

So feel free to use if you like for whatever reasons (and don't complain
to me if you see wrong data, lookup RIR whois and send corrections there).

One last point is as I noted data is based on RIR direct allocations, so
swips and suballocations are not used. In the future planned is separate
service and data for experimental use that will be based on SWIP data
(lowest allocation), however my checks on it show that in too many places
its even less accurate then RIR direct info.

--
William Leibzon
Elan Networks
william () elan net

 +++++++++++++++++++++++++++++++++++++++++++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.



Current thread: