wget: unable to resolve host address “http”


[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.

  

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM