Re: plain hostname problem

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 26 Nov 1998 22:33:13 +0100

Quote from squid.conf:

# TAG: dns_defnames on|off
# Normally the 'dnsserver' disables the RES_DEFNAMES resolver
# option (see res_init(3)). This prevents caches in a hierarchy
# from interpreting single-component hostnames locally. To allow
# dnsserver to handle single-component names, enable this
# option.
#
#dns_defnames off

But append_domain is always done before resolving the DNS name, so if
you use append_domain then this option won't help you.

Another thing you may do (preferred to dns_defnames in most setups) is
to use a smart redirector that rewrites "intranet" requests to their
FQDN host name.

---
Henrik Nordstrom
Spare time Squid hacker
Rainer Klier wrote:
> 
> proxy-server (the machine) is able to resolv
> plainhostnames, according the domain search order,
> from both domains.
> The proxy does not do this. It always appends
> the string in append_domain to it. Is there
Received on Thu Nov 26 1998 - 14:44:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:23 MST