Souri Ranjan Das wrote:
Thanks Manish again.But what i am saying that when i am
giving the ip address & port no 3128 in the internet client
browser.Then browse is ok.i am using private ip & the port No 3128
I dont have to define the public dns ip in the client.this is normal proxy
set up.

When you specify proxy server settings in the browser, it sends all requests to the proxy server without resolving the domain name into an IP address. So it works as you have described.

When i am doing a transparent proxy then i just ignore the client
side configuration of proxy ip & Port No.Then why the transparent does
not work without a public or caching name server as said by u.

Because when you send a request in this case, the browser has to do a DNS lookup in order to convert host name into IP address and then send the request (or the packets) to this address. These requests are then redirected to the proxy server transparently (without the knowledge of the user or the client)

Transparent means  it is rediredting whatever the request comexs to port 80
to 3128.So Transprent should work.that is the job of a transparent proxy
is that u dont require client ip seeting in the client  browser.


the dns
resolution should be taken care by the proxy erver /etc/resolv.conf

In this case, the DNS resolution has to take place before the outgoing web requests reach the proxy server so the client has to do it. It is NOT the job of the transparent proxy to do DNS resolution here.

By the way, squid can also use its own dns client and nameservers different from those specified in /etc/resolv.conf.

.Please clarify me.


So if you are going to use a transparent proxy, you have to run a caching nameserver in your network if you dont want the clients to use any external nameserver.

--
Manish
http://www.tuxspace.com/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to