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