打印

[总结] Couldn't resolve host failed: Temporary failure in name resolution. unable to resolve host address问题解决方法

Couldn't resolve host failed: Temporary failure in name resolution. unable to resolve host address问题解决方法

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')> 或 [Errno 4] 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

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

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

解决了,谢谢谢谢

TOP