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


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110805133318.ga32...@darac.org.uk

Reply via email to