最佳 IP 国家数据库 [英] Best IP to Country Database

查看:30
本文介绍了最佳 IP 国家数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的一些系统要求根据用户的 IP 地址检测用户所在的国家/地区.我们更喜欢使用数据库而不是 Web 服务(以防止停机/网络访问外部托管服务出现问题)所以我正在寻找建议,任何人都有关于国家数据库的各种 IP 的好坏故事?

We've got a requirement in a couple of our systems to detect a user's country based on their IP address. We'd prefer to use a database rather than a Web Service (to prevent issues with downtime/network access to an externally hosted service) so I'm looking for recommendations, anyone got any good or bad stories of the various IP to Country databases?

我从谷歌发现的:

付费

  • Maxmind - $50, then $12 a month, site license
  • IP2Location - $50 a year, single server
  • software77 (Donationware)

免费

任何关于免费的与付费的比较的信息都会很好.现在我倾向于 Maxmind 的付费服务,因为它包括自动更新,我们可以每周通过脚本运行一次.

Any information on how the free ones compare to the paid ones would be good. Right now I'm leaning towards Maxmind's paid service since it includes automatic updates that we can run via script once a week.

推荐答案

我们使用 Maxmind,它非常好,而且非常准确.您可能会遇到这样的情况,例如,一家德国公司在美国设有办事处,但将德国 IP 范围用于内部目的.因此,他们将在美国报告为德国.它不会 100% 可靠.

We use Maxmind and it's very good, and pretty accurate. You can get scenarios where, say, a German company has offices in the US but is using a German IP range for internal purposes. So, they'll report as Germany while being based in the US. It won't be 100% reliable.

这篇关于最佳 IP 国家数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆