Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取给定 IP 地址的所有注册域的列表。我可以使用 PTR 记录吗?我尝试了以下
ip = "217.13.68.220"; l = new Lookup(ip, Type.PTR ); l.setResolver(new SimpleResolver("8.8.8.8")); l.run();
此 IP 应解析为 zeit.de 但查找返回:
主机未找到
对于 IPV4 地址,您需要
因此,在您的情况下,您应该通过“220.68.13.217.in-addr.arpa”。到解析器。