man-pages/man1/logresolve.1.html
2021-03-31 01:06:50 +01:00

66 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of LOGRESOLVE</TITLE>
</HEAD><BODY>
<H1>LOGRESOLVE</H1>
Section: logresolve (1)<BR>Updated: 2018-07-06<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<P>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
logresolve - Resolve IP-addresses to hostnames in Apache log files
<P>
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<BR>&nbsp;
<P>
<B>logresolve</B> [ -<B>s</B> <I>filename</I> ] [ -<B>c</B> ] &lt; <I>access_log</I> &gt; <I>access_log.new</I>
<BR>&nbsp;
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>SUMMARY</H2>
<BR>&nbsp;
<P>
<B>logresolve</B> is a post-processing program to resolve IP-addresses in Apache's access logfiles. 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.
<BR>&nbsp;
<P>
Takes an Apache log file on standard input. The IP addresses must be the first thing on each line and must be separated from the remainder of the line by a space.
<BR>&nbsp;
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<BR>&nbsp;
<BR>&nbsp;
<DL COMPACT>
<DT id="1"><B>-s </B><I>filename</I><DD>
Specifies a filename to record statistics.
<DT id="2"><B>-c</B><DD>
This causes <B>logresolve</B> 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 these matches the original address.
<BR>&nbsp;
<P>
</DL>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="5"><A HREF="#lbAD">SUMMARY</A><DD>
<DT id="6"><A HREF="#lbAE">OPTIONS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:18 GMT, March 31, 2021
</BODY>
</HTML>