在OS X中,DNS解析似乎不一致,我无法理解.
$ping example PING example.co.uk (80.94.32.224): 56 data bytes 64 bytes from 80.94.32.224: icmp_seq=0 ttl=56 time=62.077 ms
然而:
$nslookup example Server: 10.20.20.1 Address: 10.20.20.1#53 ** server can't find example: NXDOMAIN
http://example/在Firefox中解析,但是:
$dig example
失败.我指着我的路由器的默认DNS(10.20.20.1,如上所述).指向其他DNS服务器似乎不会改变上述行为.