Home > other >  maxmind free geoip DB returns wrong country
maxmind free geoip DB returns wrong country

Time:01-10

I am using maxmind free DB (geoip.mmdb) and I have a script that update it to latest on daily basis, however, yesterday I noticed it started to return wrong countries by IP Address.

an IP address in Jordan (80.10.53.78).

for example:

$location = GeoIP::getLocation("80.10.53.78");

returns the following response

["ip" => "80.10.53.78",
 "isoCode" => "FR",
 "country" => "France",
 "city" => null,
 "state" => null,
 "postal_code" => null,
 "lat" => 48.8582,
 "lon" => 2.3387,
 "timezone" => "Europe/Paris",
 "continent" => "EU",
 "default" => false,
 ]

double checking on https://www.maxmind.com/en/geoip-demo , it returned the correct country. being Jordan.

How to fix this?

CodePudding user response:

Thanks for the report. I work at MaxMind and we are working on a fix for the issue you have raised and expect to post updated GeoLite databases later today.

  • Related