Re: [squid-users] dns lookups

From: D & E Radel <radel@dont-contact.us>
Date: Wed, 11 May 2005 15:36:57 +1200

From: "Kevin" <kkadow@gmail.com>

> On 5/10/05, D & E Radel <radel@inet.net.nz> wrote:
> > This is a real n00b question. Sorry. Our squid setup is working nicely
> > and
> > DNS is being resolved nicely for internet domain names no problem.
> > However,
> > local computer names are not resolved with the squid server. eg:
> > http://my-server/index.html will fail.

> If you use an intranet domain and your hosts are all in DNS, this can
> be easily addressed with append_domain, as a simple google search
> would tell you: http://nixdoc.net/files/forum/about28247.html

I check my resolv.conf, it's sweet. Pinging just the computer name (without
the DNS suffix appended) from the linux box results in a correct DNS lookup
and the ping works fine. However, Squid still doesn't resolve just the
computer name, even though the DNS config of the linux box is working.

I added the append_domain option in Squid. This worked, however not without
problems. We have *two* domains with lengthy names. When using
append_domain, it blindly adds the single domain suffix to any computer name
without dots. If the computer is a member of another Whereas what I need is
a correct DNS lookup search because of our two domains. If one DNS lookup
fails, try the next domain suffix, etc.

Is this do-able?
Dietrich
Received on Tue May 10 2005 - 21:36:53 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT