http://dns.co.in/http://lmgtfy.com/?q=ip+blocks+by+countryhttp://whois.arin.net/ui/Or, a script to run on a *nix box;
Shell Script To Get Data Center Information, IP Owner, City and Country From Domain NameNote the key bit of code in there -
whois "$_ip" | egrep -w 'OrgName:|City:|Country:|OriginAS:|NetRange:'[note: I
think the
whois command in the script above is missing the target registrar to query. This may or may not cause issues, depending on how your particular system is set up]
Format your list of IP addresses properly, then pipe it into the script, or... rewrite the script
OR
[Batch] Geo Lookup from the command line