Search squid archive

Re: DNS-based reverse proxy peer selection, 2.5 vs 2.6

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

 



On Tue, Feb 19, 2008, Amos Jeffries wrote:

> > Is there a way to do this in 2.6?
> 
> Yes, with a little trickery in DNS. You need to use DNS-views so that the
> public see squid as being an A/AAAA for the domain and squid does not. If
> squid ever find itself as a source server for any of the domains its
> accelerating you get a forwarding-loop.

You can use /etc/hosts too; Squid will load that into memory on startup.

> Other than that catch; configure squid as a normal 2.6 accelerator with
> vhost and defaultsite on the http_port line, omit any cache_peer_*
> settings, and set as an open-proxy for the domains you are providing.
> An external acl helper may be needed to accurately limit the open-proxy
> behaviour to just the hosted domains.

Which is what I've done in the past; works quite well.e



Adrian


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

  Powered by Linux