@
ysc3839 @
perfectlife 老哥们,我执行
dig 192.168.2.1
dig
www.baidu.com的结果,麻烦帮忙看看
N 次的正常返回结果如下:
; <<>> DiG 9.16.23-RH <<>> 192.168.2.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 12297
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;192.168.2.1. IN A
;; AUTHORITY SECTION:
. 199 IN SOA
a.root-servers.net.
nstld.verisign-grs.com. 2024040701 1800 900 604800 86400
;; Query time: 13 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Mon Apr 08 11:31:04 CST 2024
;; MSG SIZE rcvd: 115
; <<>> DiG 9.16.23-RH <<>>
www.baidu.com;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33348
;; flags: qr aa ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: Message has 23 extra bytes at end
;; QUESTION SECTION:
;
www.baidu.com. IN A
;; ANSWER SECTION:
www.baidu.com. 202 IN A 180.101.50.242
www.baidu.com. 202 IN A 180.101.50.188
;; Query time: 2 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Mon Apr 08 11:31:04 CST 2024
;; MSG SIZE rcvd: 86
其中某一次出问题的结果:
; <<>> DiG 9.16.23-RH <<>> 192.168.2.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 16660
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;192.168.2.1. IN A
;; AUTHORITY SECTION:
. 198 IN SOA
a.root-servers.net.
nstld.verisign-grs.com. 2024040701 1800 900 604800 86400
;; Query time: 20 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Mon Apr 08 11:31:05 CST 2024
;; MSG SIZE rcvd: 115
;; Warning: Message parser reports malformed message packet.
;; ;; Question section mismatch: got www.b\
000idu.com/A/IN;; ;; Question section mismatch: got www.b\
000idu.com/A/IN;; reply from unexpected source: 192.168.2.1#37994, expected 223.5.5.5#53
;; reply from unexpected source: 192.168.2.1#19320, expected 223.6.6.6#53
;; Warning: Message parser reports malformed message packet.
;; ;; Question section mismatch: got www.b\
000idu.com/A/IN;; ;; Question section mismatch: got www.b\
000idu.com/A/IN;; reply from unexpected source: 192.168.2.1#37994, expected 223.5.5.5#53
;; reply from unexpected source: 192.168.2.1#19320, expected 223.6.6.6#53
;; Warning: Message parser reports malformed message packet.
;; ;; Question section mismatch: got www.b\
000idu.com/A/IN;; ;; Question section mismatch: got www.b\
000idu.com/A/IN;; reply from unexpected source: 192.168.2.1#37994, expected 223.5.5.5#53
;; reply from unexpected source: 192.168.2.1#19320, expected 223.6.6.6#53
; <<>> DiG 9.16.23-RH <<>>
www.baidu.com;; global options: +cmd
;; connection timed out; no servers could be reached