[squid-users] internal dns resolver is not using hosts file

From: José Gerez Morata <jgm@dont-contact.us>
Date: Mon, 29 Jul 2002 15:54:57 +0200

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?

Where's the problem?

José Gerez
Departamento de Sistemas de TRAGSATEC
e-mail: jgm@tragsatec.es
Tlf.: +34 1 3963507
Fax: + 34 1 3963410
Received on Mon Jul 29 2002 - 07:55:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:23 MST