Search squid archive

RE: Re: cache_peer problem

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

 



Hi All,

I have read the FAQ's and tried different cache_peer
options to stop DNS lookups on the child proxy but no
luck.

I tried 

cache_peer 172.26.x.x parent 3128 0 no-query
proxy-only
acl all src 0.0.0.0/0.0.0.0
never_direct allow all

Still the child proxy is doing DNS looks before it
sends the client's request to parent proxy.

Thanks.  


--- Armin Marxer <armin@xxxxxxxxxx> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Solaris2005 wrote on 06 September 2005 03:29 PM:
> 
> >  Hi,
> > 
> >  Should I have my config as
> > 
> >  cache_peer 172.26.x.x parent 3128 3130
> >  acl all src 0.0.0.0/0.0.0.0
> >  never_direct allow all
> > 
> 
> See the following section, titled: # 4.9 How do I
> configure Squid
> forward all requests to another proxy? 
>  http://www.squid-cache.org/Doc/FAQ/FAQ-4.html#ss4.9
> 
> HTH,
> 
> Armin

  Hi All,
> > >  
> > >  I have 2 proxies where the parent is open to
> the
> > >  internet behind the Firewall and another proxy
> > > which
> > >  cannot go direct to the internet. When a user
> > tries
> > >  to access any web site, first it goes to the
> > >  child proxy server. Child proxy server will
> then
> > >  forward the request to parent proxy
> (cache_peer).
> > > So
> > >  cache_peer (parent proxy) should be doing DNS
> > > lookup
> > >  for the web site URL. My problem is the child
> > proxy
> > >  is doing DNS lookup's. I want to reduce load on
> > >  child proxy. How can I make my parent proxy to
> do
> > >  DNS lookups? There is no need for the child
> > >  proxy to do DNS quesries when a user tries to
> > > access
> > >  some web site on the Internet. Any help would
> be
> > >  really appreciated.
> > >  
> > >  My config in squid.conf file is
> > >   
> > >  cache_peer 172.26.x.x parent 3128 3130 no-query
> > > no-digest
> > >  acl all src 0.0.0.0/0.0.0.0
> > >  never_direct allow all
> > >   
> > >  What happens if I change the above
> configuration
> > to
> > > 
> > >   
> > > cache_peer 172.26.x.x parent 3128 3130 no-query
> > > proxy-only
> > >  acl all src 0.0.0.0/0.0.0.0
> > >  never_direct allow all
> > >  
> > >  If I add proxy-only option will child proxy
> stop
> > >  doing DNS lookups. Any help would be really
> > >  appreciated.
> > >   
> > >  Thanks,
> > >  



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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

  Powered by Linux