Search squid archive

Re: DNS config - squid

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

 



> On 15/09/10 17:18, viswa wrote:
>> is it possible to configure squid to use different DNS server for
>> different clients ?
>> example if request from 172.16.1.25 then DNS response from dns-server-1,
>> otherwise is dns-server-2 ?

On 16.09.10 00:46, Amos Jeffries wrote:
> No its not.
>
> Fundamentally there is no point to it. The visitor will never be using  
> the DNS lookups squid performs. *Squid itself* will be the client when  
> fetching the data from servers those results produce.

Not mentioning that different replies from different servers would cause
squid cache different content as if it would be the same, since squid does
not differ content this way. It can differ based on HTTP headers, but not on
server the answer came from - there are many webs balanced on multiple IP
addresses and we must always assume that content is the same, unless HTTP
headers differ (and Vary: indicates which)

If you need something similar, you should set up multiple squid instances with
different caches.
-- 
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.
The only substitute for good manners is fast reflexes. 


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

  Powered by Linux