[TriLUG] country ip database for free?
jmm at sublogic.com
Mon Dec 1 15:30:39 EST 2003
> Is there a database for free that maps ip addresses to countries? How
> about the reverse - country to ip address?
Usually you can hit ARIN up and they'll point you at the correct
registry for the IP if they're not it. This isn't fool-proof by any
means of course.
for instance, 22.214.171.124
% whois -h whois.arin.net 126.96.36.199
whois -h whois.ripe.net 188.8.131.52
inetnum: 184.108.40.206 - 220.127.116.11
descr: PROVIDER Local Registry
descr: Telefonica Deutschland GmbH
The reverse doesn't really make sense unless I'm misunderstanding you
- there's no direct correlation of network address blocks to specific
countries that I know of, although you might be able to try different
queries against the big ones (ripe.net, apnic.net, arin.net, etc) for
particular countries (like resolving www.de to the above example IP)
James Manning <http://www.sublogic.com/james/>
GPG Key fingerprint = B913 2FBD 14A9 CE18 B2B7 9C8E A0BF B026 EEBB F6E4
More information about the TriLUG