Re: [squid-users] Appending multiple domains for DNS resolution

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 18 Sep 2009 18:34:52 +1200

dmorton_at_tycoflow.co.nz wrote:
>
>
>
> Hiya,
>
> SITUATION:
> As a lot of companies will struggle with we're cursed with a legacy of
> internal and external services sharing the same domain space (seperate
> authorative servers internally and externally). We have three domains that
> services can exist on internally, these addresses are not advertised on
> internet based DNS. Squid is setup also as a caching DNS server with
> forwarders to the appropriate servers for the three internal domains as
> well as a default for internet based resolution, this setup works perfectly
> from the server command line. I can ping any non FQDN and get the correct
> result (three domains in the resolv.conf search string as well as localhost
> for nameserver) for internal servers as well as internet based FQDN's.
>
> ISSUE:
> The issue is that Squid does NOT apply the domain suffixes as specified in
> resolv.conf for a non FQDN, it queries literally and fails. The
> append_domain works perfectly for my purpose but i understand it can only
> be used for one domain and not the three i require. As people send links
> around for web based services that are simply
> http://internalserver/site.html I'm a bit stuck as to how to resolve
> against DNS correctly to return the result.

Upgrade your Squid. The ones released in the last year or so should be
handling resolv.conf search properly.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE19
   Current Beta Squid 3.1.0.13
Received on Fri Sep 18 2009 - 06:35:25 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 18 2009 - 12:00:03 MDT