As another user said, Squid-2.4 does not know how to read /etc/hosts, it only
uses DNS.
As a workaround you can compile Squid with --disable-internal-dns.
Regards
Henrik
Timofey A. Bychkov wrote:
> I want use such "alias" for external hosts too. I add to the /etc/hosts on
> the squid host a string for santa, now i can point to that host through the
> alias santana. But with squid i got same results.
> On the local machine i can use such aliases, and system convert them to
> the ip's. And without proxy it helps. But with proxy its dont work.
> I got last stable version of Squid/2.4.STABLE6.
>
> > http://www.squid-cache.org/Doc/FAQ/FAQ-5.html
> >
> > You either need to set up your browser so that it doesn't talk to squid
> > when accessing local sites or you need to check that the squid server's
> > can find santana as well. Chances are pretty high that it can's so add
> > the same line to /etc/hosts on the squid device as well
> >
> > Francis
Received on Thu Jun 13 2002 - 10:49:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:40 MST