drnmslpz42661 2011-03-14 19:56
浏览 105
已采纳

找到谁使用PHP托管网站

I am developing a website to show information about a website like ip, location, coordinates, flag of country, dns entries and more. I managed to collect everything, but the only thing left is to find who is hosting the website.

I saw in whoishostingthis.com that you could find the name of datacenter or host of any domain which is exactly what i wanted. I did a lot of research on how to collect that data, but nothing worked till now. I know that it has something to do with reverse dns , but i dont know how to get the name of the datacenter using reverse dns.

I could just grab the name of the host from whoishostingthis.com using curl and extract the data, but i dont want to do that as it might violate their tos or something. So, does anyone know how to collect that data? If i could find that anyhow (even using a linux binary or something), i could import that to php.

Any help would be appreciated. Thanks :)

EDIT: Just to let you guys know, i tried using the RESTful API from arin, but the problem is that it can display the organization information about the ip addresses in america, but if it is outside north america, it just displays the regional IP authority. For example, if you go to http://ip.nex.im/?q=wireshock.com , which is hosted in usa, it shows hostdime inc, which is true, but if you go to http://ip.nex.im/?q=www.ovh.co.uk , it just shows "RIPE Network Coordination Centre". You can try other ip's http://ip.nex.im/?q=[IP OR DOMAIN]. And i could not find an api for other regional ip authorities like ripe or others that can display the organization that owns the ip address. If i find something that works, i will make an open api that anyone can use. And if anyone knows any other way, please reply. Thanks :)

  • 写回答

2条回答 默认 最新

  • dongqiang2069 2011-03-14 19:58
    关注

    The best way to get this is by going to the source: ARIN

    Of course, you can only make educated guesses. Often times, the holder of the IP block will be some bigger ISP that your hosting provider connects to.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器