Skip to content

Add support for the new Lite DBs #9

@jnko266

Description

@jnko266

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions