stephenlb / geo-ip

Generate a list of IP Addresses and Associated Geographical Information ( City, Country, Zip, Lat, Long )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geolite.maxmind.com down?

jim256 opened this issue · comments

Just tried running the container and got:

The command '/bin/sh -c curl -O http://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz' returned a non-zero code: 6
curl: (6) Could not resolve host: geolite.maxmind.com

Couldn't hit that URL myself either. No longer valid?

Good find. Yes that URL has changed.

https://dev.maxmind.com/geoip/geoip2/geolite2/ - they changed their policy. Lets see if there is an approach here.

Okay fixed. 09d7fd1

Run to update your local:

git pull origin master
docker build -t geo-ip .
docker run -e IPRANGE='54.0.0.0/30' geo-ip               ## a few IPs