log_fqdn

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 on|off

Default

log_fqdn off

Example

log_fqdn on

Related

cache_access_log, useragent_log, referer_log, fqdncache_size, client_netmask



    Appendix A. Config File Reference