> sudo discoveryutil mdnsflushcache
Password:
> sudo discoveryutil udnsflushcaches
>
> clear
> ping
www.baidu.com PING
www.baidu.com (127.128.0.58): 56 data bytes
Request timeout for icmp_seq 0
^Z
[5] + 875 suspended ping
www.baidu.com> nslookup
www.baidu.com Server: 223.5.5.5
Address: 223.5.5.5#53
Non-authoritative answer:
Name:
www.baidu.comAddress: 127.128.0.58
> nslookup
www.sina.com Server: 223.5.5.5
Address: 223.5.5.5#53
Non-authoritative answer:
Name:
www.sina.comAddress: 127.128.0.250
> nslookup
www.weibo.com Server: 223.5.5.5
Address: 223.5.5.5#53
Non-authoritative answer:
Name:
www.weibo.comAddress: 127.128.0.251
> nslookup
www.qq.com Server: 223.5.5.5
Address: 223.5.5.5#53
Non-authoritative answer:
Name:
www.qq.comAddress: 127.128.0.252
> nslookup
fuckyou.com Server: 223.5.5.5
Address: 223.5.5.5#53
Non-authoritative answer:
Name:
fuckyou.comAddress: 127.128.0.253
> nslookup
xljklsjfljlwejrojsdljfkljwejlfsd.com Server: 223.5.5.5
Address: 223.5.5.5#53
Non-authoritative answer:
Name:
xljklsjfljlwejrojsdljfkljwejlfsd.comAddress: 127.128.0.254
>
每次解析到的IP都是+1,都是内网地址。
比如这次解析到的IP是:127.128.0.2
下次随便一个域名解析到的IP就是:127.128.0.3
我用的阿里DNS呀,换百度的DNS结果也是一样的。
奇怪的是浏览器访问各个网站都是很正常的。命令行下用TCP模式也能正常。
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/160578
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.