On 20/07/2013 12:08 a.m., Andrew Hall wrote:
When non-FQDN names are specified by clients I wish for them to be appended by the domains in the search directive of resolv.conf on the Squid host. I can see that it is adding these domains at startup by the following entries in squid.out... 2013/07/19 13:02:22| Adding domain sub01.domain.com. from /etc/resolv.conf 2013/07/19 13:02:22| Adding domain sub02.domain.com. from /etc/resolv.conf 2013/07/19 13:02:22| Adding domain sub03.domain.com. from /etc/resolv.conf ...but none of them are being appended to non-FQDN addresses. Squid just returns an error that it was unable to resolve the hostname. I can of course use the append_domain directive but this is only for a single domain - I cannot specify multiple domains with this method. Can anyone explain why the domains from resolv.conf are not being used ?
Add this to your squid.conf: dns_defnames on Amos