dig nslookup 回来都是问题包?这是怎么回事?

2014-09-08 10:59:10 +08:00
 jsq2627
dig www.google.com +trace
;; Got bad packet: bad label type
34 bytes
5d b1 80 80 00 01 00 01 00 00 00 00 00 00 00 02 ]...............
00 01 c0 0c 00 01 00 01 00 00 00 01 00 04 00 00 ................
70 cf p.




dig www.google.com

; <<>> DiG 9.8.3-P1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24726
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com. IN A

;; ANSWER SECTION:
www.google.com. 1 IN A 0.0.113.35

;; Query time: 0 msec
;; SERVER: 192.168.199.1#53(192.168.199.1)
;; WHEN: Mon Sep 8 10:40:45 2014
;; MSG SIZE rcvd: 48





dig www.baidu.com +trace
;; Got bad packet: bad label type
34 bytes
47 7d 80 80 00 01 00 01 00 00 00 00 00 00 00 02 G}..............
00 01 c0 0c 00 01 00 01 00 00 00 01 00 04 00 00 ................
71 5c q\






ping baidu.com
PING baidu.com (0.0.113.100): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
Request timeout for icmp_seq 0
ping: sendto: No route to host





nslookup www.baidu.com
Server: 192.168.199.1
Address: 192.168.199.1#53

Non-authoritative answer:
Name: www.baidu.com
Address: 0.0.113.101




nslookup www.baidu.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53

Non-authoritative answer:
Name: www.baidu.com
Address: 0.0.113.102





nslookup www.v2ex.com 114.114.114.114
Server: 114.114.114.114
Address: 114.114.114.114#53

Non-authoritative answer:
Name: www.v2ex.com
Address: 0.0.113.138





如上所示。使用 dig +vc 倒是可以正常解析的。但是我的电脑明明还可以正常浏览网页的呀……

还有件很疑惑的事情,昨晚我用 iPhone 连上 VPN 上了下 Google,然后断了 VPN,发现还是能轻松上 Google,无丢包卡顿感。一开始我以为是 DNS 缓存的问题,可奇葩的是 youtube.com/greatfire.org/facebook.com 都能上去,这些网站我连 VPN 期间也没上过额。去查了 IP,显示是我正常的国内 IP。一直到现在还能上的去。但是同处同一 WIFI 下的 Mac 就一切正常,上不去这些网站(但是遇到了上面奇葩的解析问题)。
3919 次点击
所在节点    Linux
2 条回复
jsq2627
2014-09-08 11:04:07 +08:00
jerryjhou
2014-09-08 11:26:34 +08:00
DNS被劫持了,有可能是VPN没完全断开。
另外这几个网站的IP都没有被封(对Google的IP进行的端口封锁已经松动,有些段不仅没封还会走香港POP)

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/132290

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX