[英]maxmind free geoip DB returns wrong country
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.我正在使用 maxmind 免费数据库 (geoip.mmdb) 并且我有一个脚本每天将其更新为最新版本,但是,昨天我注意到它开始按 IP 地址返回错误的国家/地区。
an IP address in Jordan (80.10.53.78).约旦的 IP 地址 (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.仔细检查https://www.maxmind.com/en/geoip-demo ,它返回了正确的国家。 being Jordan.
作为乔丹。
How to fix this?如何解决这个问题?
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.
我在 MaxMind 工作,我们正在解决您提出的问题,并希望在今天晚些时候发布更新的 GeoLite 数据库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.