wget: unable to resolve host address “http”

Posted RoyFans

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了wget: unable to resolve host address “http”相关的知识,希望对你有一定的参考价值。

[[email protected] ~]# 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”

  

解决方案:

[[email protected] ~]# 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”的主要内容,如果未能解决你的问题,请参考以下文章

linux解决centos8 wget 报错nown. wget: unable to resolve host address ‘mirrors.aliyun.com’

Ubuntu 报错 sudo: unable to resolve host

tdengine jdbc连接报错: Unable to resolve FQDN

sudo 出现unable to resolve host 解决方法

sudo: unable to resolve host iZ2zecsdy8flu603bmdg1bZ

Unable to resolve module crypto