遇到一个奇怪的问题, dns 劫持?

2016-12-03 23:04:14 +08:00
 ksc010

今天突然发现机房的服务器(电线专线)不能解析部分域名

xx@xxx:~$ nslookup coloyou.m.tmall.com 223.5.5.5
Server:         223.5.5.5
Address:        223.5.5.5#53

** server can't find coloyou.m.tmall.com: SERVFAIL

而其他域名正常

nslookup www.m.tmall.com 223.5.5.5
Server:         223.5.5.5
Address:        223.5.5.5#53

Non-authoritative answer:
www.m.tmall.com canonical name = sh.wagbridge.m.tmall.com.
sh.wagbridge.m.tmall.com        canonical name = sh.wagbridge.tmall.com.
sh.wagbridge.tmall.com  canonical name = sh.wagbridge.tmall.com.gds.alibabadns.com.
Name:   sh.wagbridge.tmall.com.gds.alibabadns.com
Address: 106.11.95.1

外面的服务器也没问题

root@bbb:~# nslookup coloyou.m.tmall.com 223.5.5.5
Server:         223.5.5.5
Address:        223.5.5.5#53

Non-authoritative answer:
coloyou.m.tmall.com     canonical name = sh.wagbridge.m.tmall.com.
sh.wagbridge.m.tmall.com        canonical name = sh.wagbridge.tmall.com.
sh.wagbridge.tmall.com  canonical name = sh.wagbridge.tmall.com.gds.alibabadns.com.
Name:   sh.wagbridge.tmall.com.
Address: 106.11.95.8
2045 次点击
所在节点    问与答
3 条回复
ksc010
2016-12-03 23:06:15 +08:00
另外机房的服务器 使用其他 dns 解析这几个域名也不行

nslookup coloyou.m.tmall.com
Server: 114.114.114.114
Address: 114.114.114.114#53

** server can't find coloyou.m.tmall.com: SERVFAIL
BSD
2016-12-03 23:32:23 +08:00
dig +trace 试试看, linux 下谁还用什么 nslookup 。。。。
ksc010
2016-12-03 23:34:59 +08:00
@BSD dig 可以,但是 ping 不行;这是为啥。。。

ping coloyou.m.tmall.com
ping: unknown host coloyou.m.tmall.com

dig coloyou.m.tmall.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> coloyou.m.tmall.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56457
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;coloyou.m.tmall.com. IN A

;; ANSWER SECTION:
coloyou.m.tmall.com. 284 IN CNAME sh.wagbridge.m.tmall.com.
sh.wagbridge.m.tmall.com. 284 IN CNAME sh.wagbridge.tmall.com.
sh.wagbridge.tmall.com. 284 IN CNAME sh.wagbridge.tmall.com.gds.alibabadns.com.
sh.wagbridge.tmall.com.gds.alibabadns.com. 97 IN A 106.11.95.5

;; Query time: 23 msec
;; SERVER: 114.114.114.114#53(114.114.114.114)
;; WHEN: Sat Dec 03 23:33:34 CST 2016
;; MSG SIZE rcvd: 170

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

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

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

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

© 2021 V2EX