wget: unable to resolve host address “http”
原创
©著作权归作者所有:来自51CTO博客作者RoyFans的原创作品,请联系作者获取转载授权,否则将追究法律责任
[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.