Hi all,
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
I'd appreciate your help.
Hi.
This is my first time helping out. I think you should add an entry into the hosts file.
John On Jul 30, 2014 1:12 PM, "Theodore Si" sjyzhxw@gmail.com wrote:
Hi all,
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
I'd appreciate your help. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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
try adding google dns 8.8.8.8 in resolv.conf
On 7/30/14, Theodore Si sjyzhxw@gmail.com wrote:
Hi all,
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
I'd appreciate your help. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
And what does that do?
(Sent from iPhone, so please accept my apologies in advance for any spelling or grammatical errors.)
On Jul 30, 2014, at 12:47 AM, Gopu Krishnan gopukrishnantec@gmail.com wrote:
try adding google dns 8.8.8.8 in resolv.conf
On 7/30/14, Theodore Si sjyzhxw@gmail.com wrote: Hi all,
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
I'd appreciate your help. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Jul 29, 2014, at 23:47, Gopu Krishnan gopukrishnantec@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.
But how? Could you be more specific? I am using NAT to connect my virtual machine to the Internet.
于2014年7月30日 22:39:04,Devin Reade写到:
On Jul 29, 2014, at 23:47, Gopu Krishnan gopukrishnantec@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@centos.org http://lists.centos.org/mailman/listinfo/centos
On 07/30/2014 09:40 AM, Theodore Si wrote:
But how? Could you be more specific? I am using NAT to connect my virtual machine to the Internet.
What is the exact commend you are using that is not working?
192.168.80.128 is not a normal address, it is what is called an Internal address. See this link concerning 192.168 branch:
http://en.wikipedia.org/wiki/Private_network
You would need SOMETHING to relate a name to that address, either in a host file or someone would need to add the name to your DNS.
Thanks, Johnny Hughes
于2014年7月30日 22:39:04,Devin Reade写到:
On Jul 29, 2014, at 23:47, Gopu Krishnan gopukrishnantec@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.
On 7/29/2014 10:11 PM, Theodore Si wrote:
nameserver 192.168.80.2
is that a valid DNS server that knows how to look up the address you're trying to wget from? the wget command you're running, is it from a host on your local NAT network, or from a host on the public internet?
I tried to wget the google homepage, and It worked... So confused On Jul 31, 2014 2:02 AM, "John R Pierce" pierce@hogranch.com wrote:
On 7/29/2014 10:11 PM, Theodore Si wrote:
nameserver 192.168.80.2
is that a valid DNS server that knows how to look up the address you're trying to wget from? the wget command you're running, is it from a host on your local NAT network, or from a host on the public internet?
-- john r pierce 37N 122W somewhere on the middle of the left coast
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos