dmorton@xxxxxxxxxxxxxx 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