-
Notifications
You must be signed in to change notification settings - Fork 1
Maxmind support
Alexey Zilber edited this page Jan 24, 2020
·
2 revisions
Maxmind support is external via the tool/maxmind-ip2location/maxmind-ip2location app.
It supports merging and conversion from Maxmind Blocks/Location to IP2Location format that can be used by the main program.
examples:
./maxmind-ip2location ./GeoIP2-City-CSV_20200107/GeoIP2-City-Blocks-IPv4.csv ./GeoIP2-City-CSV_20200107/GeoIP2-City-Locations-en.csv converted.csv
./geoip2redis -r 127.0.0.1 -p 6379 -i 3 -d MM3 -f ip2location converted.csv
This will merge/convert then load the converted data into subkey MM3 to be queried as if it were an ip2location database.
See the Maxmind Example for automatically updating a Maxmind DB.
(c) 2022 ConsulTent Pte. Ltd.
