Re: [squid-users] log_fqdn only for external addresses

From: H Matik <h@dont-contact.us>
Date: Tue, 8 Feb 2005 18:14:43 -0200

On Tuesday 08 February 2005 16:00, shawn reed wrote:
> I had already tried that, but it didn't work. It looks
> like squid just queries the dns server.
>

sure it does but it should be your OS which first should query the host file
and then the dns server

> Does anything else need to be done to tell squid to
> read the hosts file?
>

this should be done on dnOS s level, check your /etc/host.conf for priority

but you even could tweak your DNS server responses locally with private names
for reverse lookup using view and address_match_list in your named.conf

Hans

> --- nikolay.nenchev@rbb-sofia.raiffeisen.at wrote:
> > You can put local machines in hosts file.Try it!
> >
> >
> >
> >
> > shwn_rd@yahoo.com
> >
> > @inet
> >
> >
> > To
> > 08.02.2005 18:48
> > squid-users@squid-cache.org
> >
> > cc
> >
> >
> >
> > Subject
> > [squid-users]
> > log_fqdn only for
> > external
> > addresses
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > I have log_fqdn set to on but due to the location of
> > squid, it cannot resolve client ip addresses
> > connecting to it. This generates a lot of
> > unnecessary
> > traffic on the dns servers. Is there a solution to
> > resolve only the external ip addresses but not have
> > squid attempt to resolve the clients?
> >
> > Or another possibility, is it possible to put static
> > entries for the few clients connecting to squid?
> >
> > Shawn
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > All your favorites on one personal page – Try My
> > Yahoo!
> > http://my.yahoo.com
>
> __________________________________
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
> http://promotions.yahoo.com/new_mail

-- 
_______________________________________________________
Infomatik
(18)8112.7007
http://info.matik.com.br
Mensagens não assinadas com GPG não são minhas.
Messages without GPG signature are not from me.
_______________________________________________________

Received on Tue Feb 08 2005 - 13:14:57 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:01 MST