Re: [squid-users] logging hostname

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 28 Aug 2002 20:38:39 +0200

Juergen Lucka wrote:
> Hello,
>
> are ther any soloutions to log the hostname instead of the ip in the
> access.log file??

log_fqdn on

> But donīt resolve the ip via DNS server!!

How would you like Squid to resolve the IP address into a hostname if not
using DNS?

> somehing like gethostname or so?? Wins or something??

To use gethostname() compile Squid with --disable-internal-dns.

Regards
Henrik
Received on Wed Aug 28 2002 - 12:38:52 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:52 MST