wget: unable to resolve host address `http'

Sunday, February 12, 2017

wget: unable to resolve host address `http'


when i run wget command with any site than got below error

$ wget example.com 

--2016-07-18 15:34:12--  http://example.com/

Resolving http (http)... failed: Name or service not known.

wget: unable to resolve host address `http'


 Issue :- The issue is The DNS server seems out of order.
 Solution :- You can use another DNS server such as 8.8.8.8. and Put nameserver 8.8.8.8 to the first line of /etc/resolv.conf


0 comments:

About This Blog

Lorem Ipsum

  © Copyright 2009 Linux-HelpLine.Blogspot.com

Back to TOP