Hi

I need to automatically determine web users' location and provide them with
targeting products. I am aware I can capture their IP address and do DNS
lookup of some kind, but how do I find their country and city from the DNS
information.

Recently I noticed that some of the web sites I visit automatically detect
my location (country and city) and display products and services near me
(without me providing any information).

As far as I know, Net::DNS alone cannot be to achieve this. Anyone
experience on this and can advise (perhaps sample code or ways of
implementation)? 

I just found few cpan modules (Geo::IP2Location, Geo::IP) which both use
flat file databases to lookup country an IP is originating from, but I yet
to understand how the originating city can be determined.  Any other
suggestions?

Mimi

Reply via email to