Brett,
Two ideas:
Put your host names in /etc/hosts and check that you have order
hosts,bind in /etc/resolv.conf. If that doesn't work then put up
a DNS server on the same machine as squid and arrange it to
be authorative for the intranet hosts (ie. appropriate master zone
files) and a caching DNS resolver for everything else.
Mike
----- Original Message -----
From: "Brett Lymn" <blymn@baesystems.com.au>
To: <squid-users@squid-cache.org>
Sent: Saturday, July 12, 2003 1:22 PM
Subject: [squid-users] avoiding DNS lookups for some hosts
>
> Folks,
> I have an adsl connection to the internet and a separate
> connection to my work. I have set up squid with adzap and that side
> is working fine... no problems. What I want to do now is tell squid
> how to reach my work's intranet sites via my work link, that part is
> easy (I think) but the wrinkle is that I cannot resolve the intranet
> sites via DNS... but I know that the squid proxy at work can resolve
> all the intranet addresses I want to get to. So, in a nutshell, I
> want to go direct to the internet for all sites except for some
> designated sites that should go to the work squid proxy. How can I do
> this? I have tried using cache_peer_domain and cache_peer_access but
> I always get a "cannot resolve address" error page - I have put a
> never_direct in but that does not seem to work either.
>
> --
> Brett Lymn
>
Received on Sat Jul 12 2003 - 06:27:58 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:57 MST