无法调查中美之间的DNS中毒事件

发布于 2024-07-18 19:09:35 字数 208 浏览 0 评论 0原文

我很想知道不同国家/地区对政治网站的 DNS 请求有何不同。

我需要知道如何向远程计算机(例如在中国的计算机)发送 DNS 查询。 然后,我想将结果与美国进行比较。 该实验的目的是获得有关 DNS 中毒概念的实际经验。 我觉得我的讲座很理论化。

如何比较中国和美国之间的 DNS 请求,以便我可以调查 DNS 中毒?

I am interested to know how the DNS requests to political sites differ in different countries.

I need to know how I can send a DNS query to a remote computer, let say, in China. Then, I want to compare the results to US. The goal of the experiment is to get a hand-on experience on the concept about DNS poison. I feel my lectures so theoretical.

How can you compare DNS requests between China and US, such that I can investigate DNS poisoning?

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

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

发布评论

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

评论(4

╰沐子 2024-07-25 19:09:35

这在一定程度上取决于查询的更改方式。 如果服务器根据您所在的位置给出不同的结果,那么直接询问将没有任何用处。 如果您的查询被中间的缓存服务器毒害,这些方法可能会有所帮助。

如果您在世界不同地区拥有 shell 帐户,则可以执行简单的测试。

我使用的是“dig”,它在大多数 *nix 系统上都可用。 如果您运行的是 Windows,您可能需要在此 DNS 工具列表中搜索替代工具

查找负责的 DNS 服务器
挖掘 ns domain-in-question.com @the.dns.server.you.want.to.use
获取主机名的 IP 地址
挖掘一个 host.domain-in-question.com @the.dns.server.you.want.to.use
(您可以跳过 @.. 部分以在当前服务器上运行)

我建议从世界不同地区尝试这两种方法,看看服务器本身是否给出不同的结果,或者途中的缓存服务器是否被中毒。

另外,搜索“如何毒害 dns”给了我一些实际结果。

This depends a bit on how the queries are being altered. If the server is giving different results based on your locality, then asking it directly will not be of any use. If you're queries are being poisoned by a caching server in between, these methods might help.

If you have shell accounts in different parts of the world you can perform a simple test.

I'm using 'dig', which is available on most *nix systems. If you're running Windows you might want to search for an alternative in this list of DNS tools

To find the responsible DNS servers
dig ns domain-in-question.com @the.dns.server.you.want.to.use
To get the IP addres for the hostname
dig a host.domain-in-question.com @the.dns.server.you.want.to.use
(You can skip the @.. part to run with your current server)

I recommend trying both of these from different parts of the world to see if the server itself is giving different results or if the caching servers on the way there are being poisoned.

Also, searching for 'how to poison dns' gave me a number of practical results.

放飞的风筝 2024-07-25 19:09:35

您可以只使用 nslookup(server 命令让您指定要询问的 DNS 服务器)

You can just use nslookup (the server command lets you specify the DNS server to ask)

三五鸿雁 2024-07-25 19:09:35

试试这个网络工具:

http://www.kloth.net/services/dig.php

至于了解DNS中毒,每台计算机都有信任哪个DNS服务器的设置等等。 如果链中的其中一个受到损害,下游的每台计算机都将收到不良信息。

Try this web tool:

http://www.kloth.net/services/dig.php

As for learning about DNS poisoning, every computer has settings for which DNS server to trust, and so on. If one of them in a chain is compromised, every computer downstream will receive bad information.

等风也等你 2024-07-25 19:09:35

如果远程服务器配置正确,它们将不会让您询问它们。

任何递归解析器都应配置为仅向其打算服务的客户端提供答案。

If the remote servers are correctly configured, they won't let you interrogate them.

Any recursive resolver should be configured to only provide answers to the clients its intended to serve.

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