I think you would need to compile squid --disable-internal-dns, and NOT use
the internal resolver, and instead use dnsserver, an external process, which
does know how to look at /etc/hosts, because it does use libresolv, I
think...
Sean
-----Original Message-----
From: Adam Lang [mailto:aalang@rutgersinsurance.com]
Sent: Friday, June 08, 2001 6:26 AM
To: Squid-Users
Subject: Re: [squid-users] How do I setup Squid to use /etc/hosts
I'd assume Squid just uses the basic resolver libraries of the host it is
running on, therefore it would already handle the /etc/hosts file.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Merritt Krakowitzer" <mk@fashaf.co.za>
To: <squid-users@squid-cache.org>
Sent: Friday, June 08, 2001 6:43 AM
Subject: [squid-users] How do I setup Squid to use /etc/hosts
> I would like to setup squid to check /etc/hosts if it is unable to
> resolve the dns name.
>
> Can't be to difficult I hope.
>
> TIA
> Merritt
Received on Fri Jun 08 2001 - 12:00:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:34 MST