I discovered this phenomenon we have a small LAN of 8 computers with
one of them working as proxy server and remaining get the internet
connection from that
the proxy server is in windows and rest of the PC's are in Linux
due to some reasons we are not using Squid as our proxy instead it is
a windows workstation and acts as a proxy when any one need to browse
the net in Linux
in firefox we specify the proxy and port and it works fine
==>>>> i.e. Internet Connection is working absolutely error free
but when I try to ping from any console on client machine to some
site like
www.google.com
then I get error
ping: unknown host
www.google.com
but if I ping the
www.google.com from the proxy server then there is
no error and I am getting the correct response
now I looked my /etc/resolv.conf
it has following entries
search localdomain
~
~
then I looked /etc/hosts it has
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
~
~and then /etc/host.conf
order bind, hosts
I feel that when I type ping on console (terminal) the ping command
does not knows how to talk to proxy to resolve
www.google.com to an IP
address
I don't have a DNS server here it is just a windows based proxy server
but there is some thing else to be pointed out
I did the reverse thing I made the linux machine as proxy server
and windows as the client then I was able to ping
www.google.com
from windows command prompt without any error
that means here the machine or ping knew how to talk to proxy server
to resolve the address
now what I want to know is what entries should I change in my network
related files to be able to ping to any site outside my LAN from a
client machine
do I need to make changes to /etc/hosts or resolv,conf
I even shut down my firewalls for linux but the problem still persist
this is a very slight error some where I am missing because in past I
have faced exactly the same thing but I was able to fix the problem
right now the correct thing is not striking my mind
can some one point out the error I might be doing while configuring
the systems