证书检查 IP 地址中有哪些域。如何用 PHP 来做呢?
证书如何根据域名检查 IP 地址?协议和参数等是什么?如何用PHP检查IP地址中有多少个域名?
How do certificates check an IP address against domain name(s)? What is the protocol and parameters etc? How to check how much domains are there in an IP address with PHP?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有 PHP 工具可以做到这一点。但是有些服务可以维护完整的反向映射数据库,例如 http://ipneighbor.com/
使用 PHP ,最多您可以查找标准 IP-> 域 PTR 记录,但对于任何给定 IP,只有其中一个记录 - 您无法获得使用该 IP 的所有域。为此,人们爬取完整的 DNS 数据库(该数据库庞大且完全分布式)并构建自己的反向查找映射。
There's no PHP tool that would do this. But there are services that maintain full(ish) reverse mapping databases, such as http://ipneighbor.com/
With PHP, at most you could look up the standard IP->Domain PTR record, but there's ever only one of those for any given IP - you wouldn't get all the domains using the IP. For that, people crawl the full DNS database (which is HUGE and fully distributed) and build their own reverse lookup maps.