> On Sun, Jul 26, 2009 at 9:23 PM, Andres Salazar<ndrsslzr80@xxxxxxxxx> wrote: > > Ive noticed that when a computer is set to use a transparent proxy > > (forced one) , or when it is pointed in the settings of the browser > > the contents for /etc/hosts in that particular computer are ignored. I > > assume it is because the DNS request is actually performed by squid on > > the remote box and not by the user computer. > > > > However... the functionality of /etc/hosts is both practical and > > required for our IT department testing in comparison of setting up a > > DNS server and have the hassle of maintaning this. > > > > > > Is there any work arround to this for squid? On 27.07.09 00:19, Kinkie wrote: > This is an issue of the browser, not of squid. > When a browser is configured to use a proxy, it will not perform DNS > lookups for the content it fetches. There's nothing squid can do about > it. actually when browser is set to use proxy, is doesn't resolve hostnames since the proxy has to do. > The only way to perform the testing you hint at is to configure the > browsers you do the testing with NOT to use a proxy when accessing the > tested sites. Some browsers alloe to skip proxy for some hosts/IP addresses in which case the resolving may be done. It also may be done if you configure browser to use proxy auto configuration file that will force it to do the resolution. -- Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "Where do you want to go to die?" [Microsoft]