装了chinadns后发现获取不到正确ip,网上看了下dig这个工具就试了一下发现也不能用,但是nslookup正常
root@ubuntu:~# dig
163.com; <<>> DiG 9.9.5-3-Ubuntu <<>>
163.com;; global options: +cmd
;; connection timed out; no servers could be reached
root@ubuntu:~# nslookup
163.comServer: 114.114.114.114
Address: 114.114.114.114#53
Non-authoritative answer:
Name:
163.comAddress: 123.58.180.7
Name:
163.comAddress: 123.58.180.8
root@ubuntu:~# dig @
114.114.114.114
163.com; <<>> DiG 9.9.5-3-Ubuntu <<>> @
114.114.114.114
163.com; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached