maxmind free geoip DB返回错误的国家/地区

问题描述 投票:0回答:1

我正在使用maxmind免费DB(geoip.mmdb),我有一个脚本,每天更新到最新,但是,昨天我注意到它开始通过IP地址返回错误的国家。

约旦的IP地址(80.10.53.78)。

例如:

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

返回以下响应

["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,
 ]

双重检查https://www.maxmind.com/en/geoip-demo,它返回了正确的国家。是乔丹。

如何解决这个问题?

php laravel-5 geolocation maxmind
1个回答
0
投票

谢谢你的报道。我在MaxMind工作,我们正在为您提出的问题进行修复,并希望今天晚些时候发布更新的GeoLite数据库。

© www.soinside.com 2019 - 2024. All rights reserved.