

I still hope the maintainers of this module will update the module to support the db-ip database. In the last smart_ip.module (7.x-2.54) I changed only line #36 fromĭefine('SMART_IP_MAXMIND_GEOIP2_FILENAME_LITE_CITY', 'GeoLite2-City.mmdb') ĭefine('SMART_IP_MAXMIND_GEOIP2_FILENAME_LITE_CITY', 'DBIP-City.mmdb') Īs far as I know it is possible to download the db-ip database by yourself. I didn't try update the smart_ip code to dowload the db-ip database, so I can't help with that.
#MAXMIND DB INSTALL#
I made it simple for us: each month I copy the database from our Matomo install to the smart_ip.module database location in a cron job. Geolocation data is refreshed monthly from the MaxMind Geolite2 database.

The free db-ip Geo database is interface compatible (with some extra en less info read more: ) with the free Maxmind database. It uses a database of IP addresses that are associated with cities along with. Matomo switched from Maxmind GeoIP database to DB-IP. We are using Matomo (a local web analytics platform like Google Analytics without the privacy concerns). For Drupal 6 and 7 only), MaxMind GeoIP2 binary database, MaxMind's Apache module mod_geoip, IP2Location binary database, web service, X-GeoIP-Country: XX header (thanks to jp.stacey) and Cloudflare IP Geolocation. Ten data source options available: local database with data from parsed MaxMind CSV (For Drupal 6 and 7 only), paid MaxMind GeoIP Legacy Web Services (For Drupal 6 and 7 only), paid MaxMind GeoIP2 Precision Web Services, MaxMind GeoIP Legacy binary file database (thanks to jbulcher. Warning: fopen(): failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in smart_ip_maxmind_bin_db_update() (line 461 of /srv/bindings/d065de6179274220a96abb358e1be113/code/sites/all/modules/smart_ip/includes/smart_ip.utility.inc).īut according to the module page we have ten different options for GeoIP databases?
