$ nslookup reddit.com 服务器:8.8.8.8 地址:8.8.8.8#53
Non-authoritative answer: Name: reddit.com Address: 0.0.44.193 $ while true; do nslookup reddit.com; done Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: reddit.com Address: 0.0.45.62 Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: reddit.com Address: 0.0.45.63 Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: reddit.com Address: 0.0.45.64 ^C
显然,结果是0.0.xx.xx,xx是递增的。奇怪的!但是ping工作了。
$ ping baidu.com PING baidu.com (0.0.46.103): 56 data bytes 64 bytes from 123.125.114.144: icmp_seq=0 ttl=52 time=76.006 ms 64 bytes from 123.125.114.144: icmp_seq=1 ttl=52 time=3.757 ms ^C --- baidu.com ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 3.757/39.882/76.006/36.124 ms
挖掘结果也很奇怪。
$ dig reddit.com @8.8.8.8 ; <<>> DiG 9.8.3-P1 <<>> reddit.com @8.8.8.8 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26859 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;reddit.com. IN A ;; ANSWER SECTION: reddit.com. 1 IN A 0.0.46.104 ;; Query time: 0 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Wed Jan 27 09:19:11 2016 ;; MSG SIZE rcvd: 44
感谢任何帮助。
我做了什么?列表如下:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist sudo killall -HUP mDNSResponder
从未工作过。
系统:
OS X El Capitan Version 10.11.2 (15C50)