权威DNS服务器保留哪些地址?


0

在此输入图像描述

在此输入图像描述

为什么雅虎的权威DNS服务器会保持stackoverflow的ip?或者它是我的本地DNS服务器在其缓存中具有stackoverflow的ip?(如此处所述 - firsr dns(1/2)在其缓存中有ip,所以它没有费心去联系其他DNS服务器?)我如何“强制”我的电脑问ns3.yahoo.com特定的IP没有得到任何缓存的答案?谢谢!


对不起链接,我不能发布图片,因为我的声誉低于10.
Xiobiq 2014年

我试过了。我没有收到服务器的任何回复。
prateek61 2014年

我得到“查询拒绝”; 这是什么版本的Windows?
2014年

说实话,你已经使用了正确的语法。nslookup domain ns_server将询问ns_server是否指定了域。它绕过您的DNS服务器和缓存。Yahoo DNS服务器必须已经缓存了stackoverflow,并允许查询。我没有看到任何其他方式。
mnmnc 2014年

Answers:


0

不知道你是如何得到这个答案的,我得到了这个,至少在Windows 7上:

C:\Users\dude> nslookup stackoverflow.com ns3.yahoo.com
Server:  ns3.yahoo.com
Address:  203.84.221.53

*** ns3.yahoo.com can't find stackoverflow.com: Query refused
C:\Users\dude>

尝试以交互方式运行nslookup打开调试选项,看看它真正要求的是什么......在这里,我看到我只是因为使用本地搜索列表和IPv4和IPv6地址的每个变体而被拒绝。 我怀疑您在本地主机表中有“stackoverflow.com”条目,或者您正在使用ns3.yahoo.com的“特殊”镜像,该镜像允许对源地址空间进行递归查询。

C:\Users\dude> nslookup - ns3.yahoo.com
Default Server:  ns3.yahoo.com
Address:  203.84.221.53

> set debug
> stackoverflow.com
Server:  ns3.yahoo.com
Address:  203.84.221.53

------------
Got answer:
    HEADER:
        opcode = QUERY, id = 2, rcode = REFUSED
        header flags:  response, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        stackoverflow.com.localdomain.com, type = A, class = IN

------------
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 3, rcode = REFUSED
        header flags:  response, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        stackoverflow.com.localdomain.com, type = AAAA, class = IN

------------
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 4, rcode = REFUSED
        header flags:  response, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        stackoverflow.com, type = A, class = IN

------------
------------
Got answer:
    HEADER:
        opcode = QUERY, id = 5, rcode = REFUSED
        header flags:  response, want recursion
        questions = 1,  answers = 0,  authority records = 0,  additional = 0

    QUESTIONS:
        stackoverflow.com, type = AAAA, class = IN

------------
*** ns3.yahoo.com can't find stackoverflow.com: Query refused
>

当我改变网络时,我得到了与你相同的输出:)可能我的本地DNS在其缓存中有stackoverflow的ip ...谢谢!
Xiobiq 2014年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.