[CentOS] wget: unable to resolve host address “xxxxx”

Wed Jul 30 05:20:05 UTC 2014
Frank Cox <theatre at melvilletheatre.com>

On Wed, 30 Jul 2014 13:11:24 +0800
Theodore Si wrote:

> I find that in my CentOS, which is installed in vmware, I can use yum to
> install software from Internet, and I can also ping websites, but I
> cannot download stuff using wget.
> I receive error msg unable to resolve host address “xxxxx”. The IP
> address is 192.168.80.128, and this is the content of /etc/resolv.conf
> # Generated by NetworkManager
> domain localdomain
> search localdomain
> nameserver 192.168.80.2

ping 192.168.80.128

and/or

traceroute 192.168.0.128

Does it work?

wget http://192.168.80.128/whatever

Does it work?

wget yourname/whatever

That apparently doesn't work.

If the other do, then your problem is that there is no dns entry for 192.168.80.128 on your dns server located at 192.168.80.2





-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com