OpenBSD manual page server

Manual Page Search Parameters

LOGRESOLVE(8) System Manager's Manual LOGRESOLVE(8)

logresolveresolve hostnames for IP addresses in Apache logfiles

logresolve [-c] [-s filename] < access_log > access_log.new

logresolve is a post-processing program to resolve IP addresses in httpd(8)'s access logfiles. To minimize impact on the 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.

The following options are supported:

This causes logresolve to apply some DNS checks: after finding the hostname from the IP address, it looks up the IP addresses for the hostname and checks that one of them matches the original address.
filename
Specifies the filename to record statistics.

httpd(8), rotatelogs(8)

May 31, 2007 OpenBSD-5.1