Re: [squid-users] what visible_hostname/unique_hostname are used?

From: Matus UHLAR - fantomas <[email protected]>
Date: Fri, 26 Mar 2004 11:31:47 +0100

> On Thu, 25 Mar 2004, Matus UHLAR - fantomas wrote:
> > The only hint I do have, is that squid translates IP address mentioned in
> > http_port as proxy1.nextra.sk (cachemgr output says that), so this should
> > be used as visible_adddres and unique_address too.

On 25.03 14:35, Henrik Nordstrom wrote:
> If asks what the local host name is, then does a DNS lookup of this
> hostname to make sure it is a FQDN and uses the result.
>
> If the DNS lookup fails or does not return a FQDN then the result is
> rejected.

All of this should be logged in cache_log, if section 50 of debug_options
is 4 or higher. at least it's called from getMyHostname() in src/tools.c

however I wasn't able to find that in log even if I defined:
debug_level ALL,1 50,9

and even stopped/started squid, so I wonder what's the problem :-S

BTW, talking about DNS lookup in gethostbyaddr() is not very exact ;-)
Is usually looks into /etc/hosts too...

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #99999: Out of error messages.
Received on Fri Mar 26 2004 - 03:31:59 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST