首页 > Web开发 > 详细

wget: unable to resolve host address “http”

时间:2017-09-22 11:05:47      阅读:369      评论:0      收藏:0      [点我收藏+]
[root@one ~]# wget www.baidu.com
--2017-09-24 10:20:23--  http://www.baidu.com/
Resolving http... failed: Temporary failure in name resolution.
wget: unable to resolve host address “http”

  

解决方案:

[root@one ~]# vim /etc/resolv.conf 
The DNS server seems out of order. You can use another DNS server such as 8.8.8.8. Put nameserver 8.8.8.8 to the first line of /etc/resolv.conf.

  

 

wget: unable to resolve host address “http”

原文:http://www.cnblogs.com/royfans/p/7573584.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!