看了一下nameserver,好多个呢,为什么就无法正常解析?
root@***:~# cat /etc/resolv.conf
nameserver 172.18.111.60
nameserver 10.249.252.42
nameserver 172.18.252.2
domain sd.aliyun.com
search sd.aliyun.com aliyun.com
nameserver 10.242.252.8
nameserver 10.242.252.66
等了好几分种, 出现错误如下.
root@***:~# apt-get update
Err http://mirrors.163.com maverick Release.gpg
Temporary failure resolving 'mirrors.163.com'
Err http://mirrors.163.com/ubuntu/ maverick/main Translation-en
Temporary failure resolving 'mirrors.163.com'
Err http://mirrors.163.com/ubuntu/ maverick/main Translation-en_US
Temporary failure resolving 'mirrors.163.com'
Err http://mirrors.163.com/ubuntu/ maverick/multiverse Translation-en
Temporary failure resolving 'mirrors.163.com'
Err http://mirrors.163.com/ubuntu/ maverick/multiverse Translation-en_US
Temporary failure resolving 'mirrors.163.com'
Err http://mirrors.163.com/ubuntu/ maverick/restricted Translation-en
Temporary failure resolving 'mirrors.163.com'
0% [Connecting to mirrors.163.com]^C
root@***:~# apt-get update
0% [Connecting to mirrors.163.com]
root@***:~# nslookup www.google.com
;; connection timed out; no servers could be reached
root@***:~# nslookup www.taobao.com
;; connection timed out; no servers could be reached
root@**:~# nslookup www.aliyun.com
;; connection timed out; no servers could be reached
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。