反向ip,在ip地址上查找域名

问题描述 投票:0回答:7

像这样的网站 http://www.yougetsignal.com/tools/web-sites-on-web-server/ 如何以及从哪里获取此信息?我怎样才能开发这样的工具?

谢谢你。

dns whois
7个回答
118
投票

您可以在IP上使用

nslookup
。反向 DNS 使用
.in-addr.arpa
域定义。

示例:

nslookup somedomain.com

产生

123.21.2.3
,然后你会:

nslookup 123.21.2.3

这将询问

3.2.21.123.in-addr.arpa
并生成域名(如果为反向 DNS 定义了域名)。


10
投票

您可以使用

ping -a <ip>
nbtstat -A <ip>


8
投票

他们只是搜寻网站列表,并将结果 IP 地址记录在数据库中。

您所看到的只是该列表的反向映射。 它不能保证是一个完整的列表(实际上通常不会),因为不可能了解每个可能的网站地址。


2
投票

Windows 用户只需使用简单的
nslookup
命令

G:\wwwRoot\JavaScript Testing>nslookup 208.97.177.124
Server:  phicomm.me
Address:  192.168.2.1

Name:    apache2-argon.william-floyd.dreamhost.com
Address:  208.97.177.124


G:\wwwRoot\JavaScript Testing>

http://www.guidingtech.com/2890/find-ip-address-nslookup-command-windows/

如果您想了解更多信息,请查看以下答案!

https://superuser.com/questions/287577/how-to-find-a-domain-based-on-the-ip-address/1177576#1177576


1
投票

来自 yougetsignal 上反向 IP 域检查工具的有关部分:

反向 IP 域检查采用域名或 IP 地址指向 到网络服务器并搜索已知托管的其他网站 同一个网络服务器。 数据是从搜索引擎结果收集的, 不保证完整。


0
投票

这对我在 Intranet 中获取域名有用

https://gist.github.com/jrothmanshore/2656003

这是一个powershell脚本。在 PowerShell 中运行它

.\ip_lookup.ps1 <ip>

0
投票

使用

dig
命令工具,您可以检索
PTR
DNS 记录(如果已设置)。
PTR
提供反向查找的域名。

dig -x 8.8.8.8 +short

给予:

dns.google

IPv6
类似:

dig -x 2001:4860:4860::8888 +short

给予:

dns.google

注意:并非所有 IP 地址都设置了 PTR 记录!

© www.soinside.com 2019 - 2024. All rights reserved.