On Wed, May 08, 2019 at 08:34:36PM +0100, André Rodier wrote:
On Wed, 2019-05-08 at 21:57 +0300, Mindaugas Celiesius wrote:
Did you check this?
https://packages.debian.org/stretch/geoip-bin

> Hi,
>
> Is there any way - or Debian package - to know the timezone from an IP
> address, or at least from a country? I have successfully used the geoip
> databases to get the country, so I could use the main city as an
> approximation.
>
> I would prefer to do this offline, though.
>
> Thanks for your insights.
>
> --
> André

Meow!

Yes, this is the one I use, bit it does not give the timezone.

Note that by default it isn't granular enough to locate the IP with enough accuracy to determine TZ within a country.

Reply via email to