查找别名列表

发布于 2024-08-31 05:30:37 字数 149 浏览 3 评论 0原文

总之,

我有一个 IP 地址,并且我想知道我的组织内指向该 IP 的所有别名。是否可以?

例如,我知道别名“TESTBOX”指向 119.119.119.119。 只知道IP怎么能得出“TESTBOX”呢?

谢谢,

All,

I have an IP address and I want to know all aliases within my organization that point to this IP. Is it possible?

For example I know the alias "TESTBOX" points to 119.119.119.119.
How can by just knowing the IP come up with the "TESTBOX" ?

Thanks,

M

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

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

发布评论

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

评论(1

花桑 2024-09-07 05:30:37

简短的回答:你不能。

您可以尝试对 IP 地址进行反向查找,但这只会显示反向 DNS 中专门分配给该 IP 地址的地址。

请记住,别名可能仅作为单个计算机的 hosts 文件中的条目存在。它们也可能存在于地球另一端的 DNS 服务器中。但是,如果您只对本地 DNS 别名感兴趣,并且您的 DNS 服务器允许区域传输,那么您可以尝试列出每个域中的每个条目(例如,使用 host -l xyzzy.bigcorp.com )并在结果中搜索有问题的 IP 地址。

Short answer: You can't.

You can try a reverse lookup on the IP address, but that will only show you the address that has been specifically allocated in the reverse DNS to that IP address.

Remember, aliases might exist only as an entry on a single machine's hosts file. They might also exist in a DNS server on the other side of the planet. However, if you're only interested in local DNS aliases, and your DNS servers allow zone transfers, then you can try listing every entry in every domain (eg. with host -l xyzzy.bigcorp.com) and searching the results for the IP address in question.

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