> There's an old discussion in these archives about how squid does a DNS
> lookup on the requested hostname and directs the request to the IP
> returned from DNS, effectively bypassing the destination IP supplied
> by the squid client, and I fully understand and take on board the
> reasons given for this, viz to prevent cache poisioning by spoofing
> domains.
>
> However, there is a very valid reason for not wanting this behaviour
> in some instances, and that's to test releases of web applications in
> a development environment by spoofing the production environment with
> hosts file entries, and in this case you wouldn't want to be viewing
> cached content anyway, so my question is this - is there a way of
> telling squid to just pass the request on wholesale to the requested
> IP without doing any DNS, and without caching?
>
> I don't think that always_direct does what I want, as squid still does
> the DNS lookup here. I can't believe that I'm the only one with this
> requirement, so how have others solved it?
You could use proxy.pac to tell the browser to go direct.
Received on Thu Sep 11 2008 - 00:33:50 MDT
This archive was generated by hypermail 2.2.0 : Mon Sep 15 2008 - 12:00:03 MDT