Search squid archive

Bypassing Squid completely for specific domains/IPs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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?

Thanks,
Mike

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux