DNS 解析在 Windows 中失败但在其他操作系统中有效

DNS 解析在 Windows 中失败但在其他操作系统中有效

(注意:该网站为中文)

我正在尝试访问一个网站(http://zp.sesedu.cn)。

不能使用任何 Windows 计算机访问它,包括

  • 两台 Windows 10 计算机(一台 Windows 10 家庭版和一台 Windows 10 专业版)
  • 在 VMware 中运行的 Windows 10(主机操作系统:Windows 10)
  • 在 VMware 中运行的 Windows XP(主机操作系统:Windows 10)
  • Windows 10 中的 wsl
  • Windows 10 中的 wsl2

使用以下方式访问:

  • 在 VMware 中运行的 Ubuntu 20.04(主机操作系统:Windows 10)
  • iPhone
  • 更多截屏
  • 的MacBook

所有设备都在同一个私有LAN网络中进行测试(我尝试让计算机通过热点使用我手机的蜂窝网络。结果是一样的。手机可以在蜂窝网络下访问网站,但计算机无法通过热点访问)。

在 Windows 10 计算机中,

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

    QUESTIONS:
        1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa, type = PTR, class = IN

------------
Server:  UnKnown
Address:  fe80::1

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

    QUESTIONS:
        zp.sesedu.cn, type = A, class = IN
    ANSWERS:
    ->  zp.sesedu.cn
        canonical name = 6e4dc53dbfcdc5ee.cname.365cyd.cn
        ttl = 600 (10 mins)
    AUTHORITY RECORDS:
    ->  6e4dc53dbfcdc5ee.cname.365cyd.cn
        ttl = 10 (10 secs)
        primary name server = ns1.cyudun.net
        responsible mail addr = mail.cyudun.net
        serial  = 2
        refresh = 600 (10 mins)
        retry   = 180 (3 mins)
        expire  = 1209600 (14 days)
        default TTL = 180 (3 mins)

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

    QUESTIONS:
        zp.sesedu.cn, type = A, class = IN
    ANSWERS:
    ->  zp.sesedu.cn
        canonical name = 6e4dc53dbfcdc5ee.cname.365cyd.cn
        ttl = 600 (10 mins)
    AUTHORITY RECORDS:
    ->  6e4dc53dbfcdc5ee.cname.365cyd.cn
        ttl = 10 (10 secs)
        primary name server = ns1.cyudun.net
        responsible mail addr = mail.cyudun.net
        serial  = 2
        refresh = 600 (10 mins)
        retry   = 180 (3 mins)
        expire  = 1209600 (14 days)
        default TTL = 180 (3 mins)

------------
Non-authoritative answer:
Name:    zp.sesedu.cn
  • wsl2(带有设置调试的 nslookup)
Server:         172.18.64.1
Address:        172.18.64.1#53

------------
    QUESTIONS:
        zp.sesedu.cn, type = A, class = IN
    ANSWERS:
    ->  zp.sesedu.cn
        canonical name = 6e4dc53dbfcdc5ee.cname.365cyd.cn.
        ttl = 0
    AUTHORITY RECORDS:
    ADDITIONAL RECORDS:
------------
Non-authoritative answer:
zp.sesedu.cn    canonical name = 6e4dc53dbfcdc5ee.cname.365cyd.cn.
------------
    QUESTIONS:
        6e4dc53dbfcdc5ee.cname.365cyd.cn, type = AAAA, class = IN
    ANSWERS:
    AUTHORITY RECORDS:
    ->  6e4dc53dbfcdc5ee.cname.365cyd.cn
        origin = .
        mail addr = mail.jiasule.net
        serial = 1
        refresh = 600
        retry = 180
        expire = 1209600
        minimum = 180
        ttl = 31
    ADDITIONAL RECORDS:
------------
  • VMWare 中的 Ubuntu(使用设置调试的 nslookup)
Server:     127.0.0.53
Address:    127.0.0.53#53

------------
    QUESTIONS:
    zp.sesedu.cn, type = A, class = IN
    ANSWERS:
    ->  zp.sesedu.cn
    canonical name = 6e4dc53dbfcdc5ee.cname.365cyd.cn.
    ttl = 5
    ->  6e4dc53dbfcdc5ee.cname.365cyd.cn
    internet address = 203.156.232.54
    ttl = 5
    AUTHORITY RECORDS:
    ADDITIONAL RECORDS:
------------
Non-authoritative answer:
zp.sesedu.cn    canonical name = 6e4dc53dbfcdc5ee.cname.365cyd.cn.
Name:   6e4dc53dbfcdc5ee.cname.365cyd.cn
Address: 203.156.232.54
------------
    QUESTIONS:
    6e4dc53dbfcdc5ee.cname.365cyd.cn, type = AAAA, class = IN
    ANSWERS:
    AUTHORITY RECORDS:
    ADDITIONAL RECORDS:
------------
  • wsl2(挖掘zp.sesedu.cn)
; <<>> DiG 9.16.1-Ubuntu <<>> zp.sesedu.cn
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20985
;; flags: qr rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;zp.sesedu.cn.                  IN      A

;; ANSWER SECTION:
zp.sesedu.cn.           0       IN      CNAME   6e4dc53dbfcdc5ee.cname.365cyd.cn.

;; Query time: 0 msec
;; SERVER: 172.18.64.1#53(172.18.64.1)
;; WHEN: Sat Aug 28 07:02:35 CST 2021
;; MSG SIZE  rcvd: 88
  • VMWare 中的 Ubuntu(挖掘 zp.sesedu.cn)
; <<>> DiG 9.16.1-Ubuntu <<>> sesedu.cn
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59813
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;sesedu.cn.         IN  A

;; ANSWER SECTION:
sesedu.cn.      5   IN  A   203.156.232.54

;; Query time: 7 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Fri Aug 27 15:18:07 PDT 2021
;; MSG SIZE  rcvd: 54
  • wsl2(Winshark 捕获)
11  33.336171   fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 92  Standard query 0xa51e A zp.sesedu.cn
12  33.343446   fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 191 Standard query response 0xa51e A zp.sesedu.cn CNAME 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA ns1.cyudun.net
13  33.345605   fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 112 Standard query 0x39cb AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn
14  34.357758   192.168.3.26    192.168.3.1 DNS 92  Standard query 0x39cb AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn
15  35.360638   fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 112 Standard query 0x39cb AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn
16  35.394420   fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 163 Standard query response 0x39cb AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA <Root>
17  35.394420   192.168.3.1 192.168.3.26    DNS 143 Standard query response 0x39cb AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA <Root>
18  35.394964   fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 163 Standard query response 0x39cb AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA <Root>
19  35.395023   fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 112 Standard query 0xdf18 AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn
20  35.395136   192.168.3.26    192.168.3.1 DNS 92  Standard query 0xdf18 AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn
21  37.423682   192.168.3.1 192.168.3.26    DNS 143 Standard query response 0xdf18 AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA <Root>
22  37.423881   fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 163 Standard query response 0xdf18 AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA <Root>
  • VMWare 中的 Ubuntu(winshark 抓包)
1   0.000000    192.168.3.26    192.168.3.1 DNS 72  Standard query 0x6093 A zp.sesedu.cn
2   0.008763    192.168.3.1 192.168.3.26    DNS 171 Standard query response 0x6093 A zp.sesedu.cn CNAME 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA ns1.cyudun.net
3   0.010332    192.168.3.26    192.168.3.1 DNS 92  Standard query 0x72da A 6e4dc53dbfcdc5ee.cname.365cyd.cn
4   2.011939    192.168.3.26    192.168.3.1 DNS 92  Standard query 0x72da A 6e4dc53dbfcdc5ee.cname.365cyd.cn
5   2.042496    192.168.3.1 192.168.3.26    DNS 108 Standard query response 0x72da A 6e4dc53dbfcdc5ee.cname.365cyd.cn A 203.156.232.54
6   2.042496    192.168.3.1 192.168.3.26    DNS 108 Standard query response 0x72da A 6e4dc53dbfcdc5ee.cname.365cyd.cn A 203.156.232.54
7   2.047382    192.168.3.26    192.168.3.1 DNS 92  Standard query 0x9a9a AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn
8   4.049005    192.168.3.26    192.168.3.1 DNS 92  Standard query 0x9a9a AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn
9   4.083906    192.168.3.1 192.168.3.26    DNS 143 Standard query response 0x9a9a AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA <Root>
10  4.083906    192.168.3.1 192.168.3.26    DNS 143 Standard query response 0x9a9a AAAA 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA <Root>
  • Windows 10 powershell(使用 Winshark 捕获的 nslookup)
1   0.000000    fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 152 Standard query 0x0001 PTR 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa
2   0.002857    fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 152 Standard query response 0x0001 Server failure PTR 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa
3   0.005092    fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 92  Standard query 0x0002 A zp.sesedu.cn
4   0.020710    fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 191 Standard query response 0x0002 A zp.sesedu.cn CNAME 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA ns1.cyudun.net
5   0.024557    fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 92  Standard query 0x0003 AAAA zp.sesedu.cn
6   0.031796    fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 191 Standard query response 0x0003 AAAA zp.sesedu.cn CNAME 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA ns1.cyudun.net
7   0.032143    fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 92  Standard query 0x0004 A zp.sesedu.cn
8   0.035289    fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 191 Standard query response 0x0004 A zp.sesedu.cn CNAME 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA ns1.cyudun.net
9   0.035939    fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 92  Standard query 0x0005 AAAA zp.sesedu.cn
10  0.038326    fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 191 Standard query response 0x0005 AAAA zp.sesedu.cn CNAME 6e4dc53dbfcdc5ee.cname.365cyd.cn SOA ns1.cyudun.net
1   0.000000    fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 152 Standard query 0x0001 PTR 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa
2   0.002493    fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 152 Standard query response 0x0001 Server failure PTR 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa
3   0.004864    fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 93  Standard query 0x0002 A www.sesedu.cn
4   0.006959    fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 109 Standard query response 0x0002 A www.sesedu.cn A 203.156.232.54
5   0.010536    fe80::e150:5276:2d4e:7a9b   fe80::1 DNS 93  Standard query 0x0003 AAAA www.sesedu.cn
6   2.034102    fe80::1 fe80::e150:5276:2d4e:7a9b   DNS 163 Standard query response 0x0003 AAAA www.sesedu.cn SOA vip1.alidns.com

我可以使用 Winshark 看到的区别是 Windows 和 Windows 中的 wsl2 使用 IPv6,并且它以某种方式不递归查询 DNS,但我仍然不知道原因。

可能是我的路由器或远程 DNS 服务器的问题(例如不支持 IPv6)?

我希望有人能给我一些关于发生了什么的提示。

非常感谢。

相关内容