>From: d m <dmm@online.de>
>To: squid-users@squid-cache.org
>Subject: Re: [squid-users] internal dns resolver is not using hosts file
>Date: 29 Jul 2002 17:22:36 +0200
>
>Am Mon, 2002-07-29 um 17.20 schrieb Daniel Menzel:
> > Am Mon, 2002-07-29 um 15.54 schrieb José Gerez Morata:
> > > Hi,
> > >
> > > We are running Squid 2.4Stable in a RedHat 7.2 machine. I can't do
>Squid
> > > use the /etc/hosts file to resolve names. I have the /etc/resolv.conf
>with
> > > several nameserves and for this side all works fine.
> > >
> > > I have the next entry in the /etc/nsswitch.conf:
> > >
> > > hosts: files nisplus dns
> > >
> > > But, if Squid is using internal resolver, it will ignore this file, I
> > > think?
> > >
> >
> > the squid internal resolver does not use the /etc/hosts or
> > /etc/nswitch.conf
> > It only uses /etc/resolv.conf when no external nameserver is given in
> > the config.
> > To make squid use the /etc/nswitch.conf : compile it without the
> > internal dns-resolver. By doing this I got a lookup-timeout-problem with
> > some domains.
> > and this timeout-period can only be set (overidden) by using the
> > internal-resolver (I think that this is not very satisfying) ......
> >
> > regards,
> > daniel
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Received on Mon Jul 29 2002 - 12:26:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:23 MST