[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IP geographical address info



On Fri, Aug 05, 2011 at 01:20:14PM +0000, T o n g wrote:
> Hi,
> 
> Given an IP address, how can I know which geographical area it originated 
> from? Would that be of to the country or state level?

# apt-get install geoip-bin
$ geoiplookup 1.2.3.4
$ geoiplookup6 2620:0:1cfe:face:b00c::b

> 
> On the other hand, given a country or state/province, can I get a list of 
> IP addresses that belong to it? 

Not sure if that's possible, but someone else might have ideas.

-- 
Paul Saunders


Reply to: