log_fqdn

 < Day Day Up > 

log_fqdn

This directive controls whether or not Squid places client IP addresses or hostnames in the log files. By default Squid writes the IP address. If you enable this feature, Squid queries the DNS for client hostnames or fully qualified domain names (FQDN). These address-to- name lookups sometimes take a long time. Squid never postpones logging to wait for an answer. If the FQDN isn't available when Squid is ready to write the log entry, it uses the IP address.

Syntax

 log_fqdn onoff 

Default

 log_fqdn off 

Example

 log_fqdn on 

Related

cache_access_log , useragent_log , referer_log , fqdncache_size , client_netmask

 < Day Day Up > 


Squid
Squid: The Definitive Guide
ISBN: 0596001622
EAN: 2147483647
Year: 2004
Pages: 401
Authors: Duane Wessels

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net