感谢支持
我们一直在努力

CentOS上执行wget报错:unable to resolve host address

wget命令报错,无法解析域名”www.keepalived.rog”

[linuxidc@RS1 download]$ wget http://www.keepalived.org/software/keepalived-1.2.12.tar.gz

–2014-05-05 11:06:14–  http://www.keepalived.org/software/keepalived-1.2.12.tar.gz

Resolving www.keepalived.org… failed: Temporary failure in name resolution.

wget: unable to resolve host address `www.keepalived.org’

服务器环境:

[linuxidc@RS1 download]$ uname -a

Linux RS1 2.6.18-238.el5 #1 SMP Thu Jan 13 15:51:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

[linuxidc@RS1 download]$ cat /etc/RedHat-release

CentOS release 5.6 (Final)

打开/etc/resolv.conf,比如内容如下:

nameserver 192.168.10.1

改成OpenDNS的一组解析服务器即可:

nameserver 208.67.222.222

nameserver 208.67.220.220

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-03/141647.htm

赞(0) 打赏
转载请注明出处:服务器评测 » CentOS上执行wget报错:unable to resolve host address
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏