LOGRESOLVE(8)

NAME
logresolve - resolve IP addresses to names in common log file format

SYNOPSYS
logresolve [ -s filename ] [ -c ]

DESCRIPTION
logresolve reads entries from an access log file in the common log file format (i.e. with the address as the first field) and outputs the same file with all of the domain names looked up, or with the address back if the lookup cannot be done.

OPTIONS

-s filename
    Writes statistics to filename.

-c  Check the Domain Name Server for an A record for the host being looked up.

CAVEATS
To minimize impact on your nameserver, logresolve has its very own internal hash-table cache. This means that each IP number will only be looked up the first time it is found in the log file.

DOCUMENTATION
Yves Arrouye <arrouye@debian.org>

SEE ALSO
httpd(1m)