1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-02 06:53:27 +03:00
Files
apache/docs/manual/programs/logresolve.xml
André Malo 698c536e50 refer to the correct metafile
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99636 13f79535-47bb-0310-9956-ffa450edef68
2003-04-29 13:08:21 +00:00

48 lines
1.5 KiB
XML

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
<manualpage metafile="logresolve.xml.meta">
<parentdocument href="./">Programs</parentdocument>
<title>logresolve - Resolve IP-addresses to hostnames in Apache
log files</title>
<summary>
<p><code>logresolve</code> 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.</p>
<p>Takes an Apache log file on standard input. The IP addresses
must be the first thing on each line and must be seperated from
the remainder of the line by a space.</p>
</summary>
<section id="synopsis"><title>Synopsis</title>
<p><code><strong>logresolve</strong> [ -<strong>s</strong>
<var>filename</var> ] [ -<strong>c</strong> ] &lt;
<var>access_log</var> &gt; <var>access_log.new</var></code></p>
</section>
<section id="options"><title>Options</title>
<dl>
<dt><code>-s <var>filename</var></code></dt>
<dd>Specifies a filename to record statistics.</dd>
<dt><code>-c</code></dt>
<dd>This causes <code>logresolve</code> 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.</dd>
</dl>
</section>
</manualpage>