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