tags:

views:

43

answers:

2

Hi

I want to get all countries ip addresses range from IANA's whois server, Not from maxmind or ip2location site. IANA is authentic site hence I would like to get all ipaddress ranges for countries from that site. Is it possible to query the WHOIS server such a way??

A: 

IANA does not have this information so, no, there is no way to get it from them.

IANA only allocates big IP prefixes to RIR (Regional Internet Registries). For instance 31.0.0.0/8 has just been allocated to the RIPE-NCC (by the way, one less IPv4 prefix, time to enable IPv6 if it is not already done), which covers all Europe and a good part of the Middle East. So, these adresses may go to Ireland, Jordan or Greece and you cannot tell it from IANA allocations. Even the RIR whois (whois.ripe.net for the RIPE-NCC) won't tell you with enough details because a prefix may be assigned to a multinational IAP (Internet Access Provider).

bortzmeyer
@bortzmeyer Fine. How these maxmind and ip2location quys are getting ipaddress information even they are telling these range of ipaddress for particular country?
Ravi
These organisations gather the list from the RIR, not from IANA and they improve it afterwards. The process is long, painful, manual and full-of-errors.
bortzmeyer
A: 

I not sure how can you query or dump out the IP address data from WHOIS. But I can see the IPAddressGuide.com has capability of query the WhoIs lookup, and their data service provider is IP2Location. I think you can give a try to find out more information from them.

SuperRomia