-
Notifications
You must be signed in to change notification settings - Fork 3
Description
With the release of IPInfo Lite, which seems to be replacing the Country + ASN DB, I think it would be a good idea for this Docker image to add support for periodical downloads of this DB (my prediction is that the Country + ASN DB will become deprecated eventually):
The IP to Country + ASN (country_asn) data downloads are structured based on the IP ranges (start_ip and end_ip). This was the previous version of the IPinfo Lite API service. However, we decided to move to a CIDR/network database structure and improve the schema structure.
Simply passing DB name ipinfo_lite in the IPINFO_DATABASES does not work, because the script is looking for the download at https://ipinfo.io/data/free/ipinfo_lite.mmdb, but the new DB "lives" at https://ipinfo.io/data/ipinfo_lite.mmdb, and as such the script exits with 404 Failed to download ipinfo_lite.mmdb database.