IP地址查询信息的基本来源是什么?

What is the base source of the IP address lookup information?

有在线工具,您可以在其中找到有关任何 IP 地址的信息。

如果我输入自己的 IP,我会得到我的 ISP 名称、比较准确的位置等。 这些数据存储在哪里以及这些工具如何检索它(是否有 public api/database?)?是否有一些全球数据源?还是每个 ISP 都在管理自己的资源?

This or this 或许有你的答案。

Geolocation services have access to a number of databases (different kinds) that give them the information needed to locate someone online through their IP address. A primary source for IP address data is the Regional Internet Registries. These are large, official organizations responsible for managing and distributing IP addresses in specific regions of the world. You can read more about RIRs here. The RIR for North America is called the American Registry for Internet Numbers (ARIN).