VPS侦探论坛

 找回密码
 注册
查看: 20281|回复: 1

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

[复制链接]
发表于 2011-6-12 11:49:19 | 显示全部楼层 |阅读模式

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

修改完毕保存,这样就好了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-12-31 14:41:23 | 显示全部楼层


解决了,谢谢谢谢
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-5-12 15:26 , Processed in 0.030408 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表