[squid-users] R: [squid-users] Resolve Client Hostname

From: Balzi Andrea <andrea.balzi@dont-contact.us>
Date: Thu, 14 Feb 2002 19:13:35 +0100

Hi,

I've try "log_fqdn on", but the log always show the IP address of clients in
to logfile.

this is my squid.conf:

http_port 1428
cache_mem 32 MB
cache_dir ufs /cache 3500 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
emulate_httpd_log on
append_domain .corporate
#mime_table /etc/squid/mime.conf
#log_mime_hdrs on
log_fqdn on
pid_filename /var/run/squid.pid
ftp_passive off
ftp_user rina@rina.com
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

...[ACL]...

cache_effective_user squid
cache_effective_group squid
visible_hostname ux-proxy

this is my resolv.conf:

search corporate

nameserver 10.0.0.130 #internal DNS
nameserver 194.20.8.1 #external DNS
nameserver 194.20.8.4 #external DNS

this is a example of the output of the logfile:

10.11.3.27 - - [14/Feb/2002:17:05:27 -0500] "GET http://freebsdhowtos.com
HTTP/1.1" 200 4800 TCP_MISS:DIRECT

Only the proxy can access to external DNS.

The internal DNS is a WinNT4Srv and the IP is assign by DHCP.

Andrea Balzi
---------------------------------------------
Gruppo Rinascente (Corporate)
Team Tecnologie
Uff. +39-02-5758.3665
Fax. +39-02-5758.3471
e-mail:andrea.balzi@rinascente.cc
Received on Thu Feb 14 2002 - 11:18:35 MST

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