我可以使用 google 来确定同一 IP 上的虚拟主机吗?

发布于 2024-08-08 20:47:53 字数 160 浏览 9 评论 0原文

我可以使用 google(具体来说,我正在考虑 google ajax api)来枚举托管在特定 IP 地址上的网站的主机名列表。

注意 是的,我知道可以使用其他机制,例如 MSN 搜索和显然 DNS 服务,但我特别寻找是否存在 google 解决方案。

Can I use google -- specifically i am thinking of the google ajax api -- to enumerate a list of host names of websites that are hosted on a particular IP address.

Note
Yes, I know that other mechanisms, such as MSN search and obviously DNS services can be used, but I am specificially looking for whether a google solution exists.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

孤千羽 2024-08-15 20:47:53

AFAIK Google 不会在其搜索结果中给出 IP 地址(除非该 URL 只能通过 IP 地址而不是主机名访问)。

我知道您只想要 Google 解决方案,但您尝试过我的 IP Neighbors 吗?您输入 URL 或 IP,它就会为您提供也在该 IP 上托管的网站。

AFAIK Google doesn't give out the IP addresses in its search results (unless the URL is only accessible from IP address rather than a host name).

I know you only want Google solutions, but have you tried My IP Neighbors? You put in a URL or IP and it gives you the sites also hosted on the IP.

和我恋爱吧 2024-08-15 20:47:53

不确定你可以用 google ajax api 来做;然而,我认为最好的解决方案将更面向系统管理员工作(因此询问 serverfault..),主要是:

  • 找到哪个名称服务器对此类网站具有权威性,
  • 找出哪些其他域使用该名称服务器作为权威,

因为网站托管在同一个域上服务器通常由相同的 DNS 提供服务。
顺便说一句,由于 DNS 可以对其他域(不在该 IP 上托管)具有权威性,因此您可能需要仔细检查该列表并对所有域进行查找,过滤掉托管在不同服务器上的域。

这就留下了负载平衡的问题:如果一个域托管在多个服务器上怎么办?

答案留给读者作为练习。 :)

Not sure you can do with google ajax api; however I think that the best solution would be more oriented towards a sysadmin job (thus ask serverfault..), mainly:

  • find which nameserver is authoritative for such website
  • find out which other domains using that nameserver as authoritative

simply because websites hosted on the same server are often served by the same DNS.
On a side note, since a DNS can be authoritative for other domains (not hosted on that IP), you might want to double-check that list and do a lookup on all domains, filtering out those that are hosted on a different server.

This leaves open the question of load balancing, tho: what if a domain is hosted on more than one server?

The answer is left as an exercise to the reader. :)

傾城如夢未必闌珊 2024-08-15 20:47:53

我在 Google 论坛上搜索了 SEO 问答和技术问答。谷歌是否捕获IP地址的问题没有得到直接解决。不过,至少有一个答案 这表明 Google 并不关心 IP 地址(请参阅 squibble 的第二个响应。)

I searched through Google's forums for SEO Q&A and technical Q&A. The issue of whether Google captures IP addresses is not directly addressed. However, there is at least one answer which suggests Google doesn't care about IP addresses (see squibble's second response.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文