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

Fri Aug 1 11:14:08 UTC 2014
Theodore Si <sjyzhxw at gmail.com>

I am using CentOS 6.5, Vmware 10.0.3

It's working now. I have no idea why, since I didn't change anything.


于2014年8月1日 19:06:03,Guy Harrison写到:
>
> On Wednesday 30 July 2014 15:40:56 Theodore Si wrote:
>>
>> But how? Could you be more specific?
>> I am using NAT to connect my virtual machine to the Internet.
>
>
> We need more information off you. What kind of vmware? What host 
> platform?
> What Centos? What is your exact 'wget' command & failure message?
>
> It may be a vmware problem in which case you may need to ask there. 
> However
> (iirc) vmnet0 (bridged), vmnet1 (host-only) and vmnet8 (nat) are common
> psuedo network devices installed. Nat should work out of the box but note
> is effectively using whatever DNS is configured for the host.
>
> However, the fact other tools work, would, in the first instance, imply a
> problem with 'wget' usage.
>
>
>>
>> 于2014年7月30日 22:39:04,Devin Reade写到:
>>>
>>>>
>>>> On Jul 29, 2014, at 23:47, Gopu Krishnan <gopukrishnantec at gmail.com>
>>>> wrote:
>>>>
>>>> try adding google dns
>>>> 8.8.8.8
>>>> in resolv.conf
>>>
>>>
>>> His IP is in private address space; google nameservers won't help. The
>>> correct answer is to fix his local DNS config.
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos