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

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 24 Mar 2004 17:22:46 +0100 (CET)

On Wed, 24 Mar 2004, Matus UHLAR - fantomas wrote:

> I haven't set up visible_hostname not unique_hostname - by documentation
> squid should get them from current hostname.

If you set visible_hostname then it is also used for unique_hostname
unless unique_hostname is also set.

> Looking at src/tools.c, squid looks at first IP it is listening to, does
> reverse lookup on it and uses that for both parameters.

Unless configuration says otherwise.

> Turning on debug_options 50,9 didn't help (I don't see the hostname in
> log) even if function getMyHostname (src/tools.c) calls debug:

since you have set visible_hostname this is never called.

Regards
Henrik
Received on Wed Mar 24 2004 - 09:22:49 MST

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