How to load squid was Re:localhost
bsilver at chrononomicon.com
Tue Feb 12 13:56:41 UTC 2008
Derek Broughton wrote:
> No, I didn't think you were arguing, I just wondered if the visible_hostname
> absolutely has to be set, or if it's only needed if squid can't find the
> FQDN otherwise. So there was only one thing to be done - install it and
> find out...
I *think* it falls back on visible_hostname if it can't determine a
proper name otherwise.
> Except that the message suggested to me that it _does_ try to
> autoconfigure - and only uses visible_hostname if it can't find an FQDN.
> Having now installed squid, and not having had any kind of error, I can see
> that in fact if you have a valid FQDN set, it doesn't
> need "visible_hostname" (in fact, /etc/squid/squid.conf says so).
That solves that question then. The conf file is rather well documented
as I remember.
>> Squid is
>> really really flexible in deployment, so the maintainer may have opted
>> to support the lowest common denominator.
> Still, if all you need is one variable to be set (visible_hostname) that's
> exactly what debconf is for.
*shrug* can't speculate what they were thinking at the time. Well, I
could, but it's not really worth the effort :-)
More information about the ubuntu-users