Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GeoIP.dat.gz and GeoLiteCity.dat.gz not longer available? Getting 404 trying to load it

Started couple days ago i can't download

http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

databases which i use to enable ngx_http_geoip_module module.

It was free and available all the time but now. Does anybody know anything about recent changes with this DB?

like image 662
Chauskin Rodion Avatar asked Jan 08 '19 18:01

Chauskin Rodion


3 Answers

You can convert MaxMind GeoLite2 Database to the old legacy format with this script:

Example: ./geolite2legacy.py -i GeoLite2-Country-CSV.zip -f geoname2fips.csv -o GeoIP.dat

BTW - there is a site where you can find new data on the legacy format, here: https://www.miyuru.lk/geoiplegacy (the files there were built using with this script)

like image 170
zvi Avatar answered Nov 11 '22 11:11

zvi


Maxmind no longer supports Geolite legacy, just Geolite2 : https://blog.maxmind.com/2018/01/02/discontinuation-of-the-geolite-legacy-databases/

like image 12
Sandor Marton Avatar answered Nov 11 '22 10:11

Sandor Marton


you can use an alternative cdn site:

https://mirrors-cdn.liferay.com/geolite.maxmind.com/download/geoip/database/

Here you'll find:

https://mirrors-cdn.liferay.com/geolite.maxmind.com/download/geoip/database/GeoIP.dat.gz

like image 7
Sean Booker Avatar answered Nov 11 '22 11:11

Sean Booker