licess 发表于 2011-6-12 11:49:19

Couldn't resolve host failed: Temporary failure in name resolution. unable to re

wget时可能会遇到Couldn't resolve host “soft.vpser.net”或Resolving soft.vpser.net... failed: Temporary failure in name resolution.
wget: unable to resolve host address `soft.vpser.net' 这样类似的错误

yum安装软件时IOError: <urlopen error (-3, 'Temporary failure in name resolution')> 或 IOError: <urlopen error (-3, '\xd3\xf2\xc3\xfb\xbd\xe2\xce\xf6\xd4\xdd\xca\xb1\xca\xa7\xb0\xdc')>
Trying other mirror.
这样类似的错误

一般都是dns的解析问题。
修改/etc/resolv.conf 为:
nameserver 208.67.220.220
nameserver 208.67.222.222

国内的话可以使用114.114.114.114

修改完毕保存,这样就好了。

huaidandewulai 发表于 2013-12-31 14:41:23

解决了,谢谢谢谢:handshake
页: [1]
查看完整版本: Couldn't resolve host failed: Temporary failure in name resolution. unable to re