1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8 <title>logresolve - Resolve IP-addresses to hostnames in Apache
9 log files - Apache HTTP Server</title>
10 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
11 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
12 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
13 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
14 <body id="manual-page"><div id="page-header">
15 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
16 <p class="apache">Apache HTTP Server Version 2.1</p>
17 <img alt="" src="../images/feather.gif" /></div>
18 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
20 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.1</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>logresolve - Resolve IP-addresses to hostnames in Apache
23 <p><span>Available Languages: </span><a href="../en/programs/logresolve.html" hreflang="en" title="English"> en </a></p>
26 <p><code>logresolve</code> is a post-processing program to
27 resolve IP-addresses in Apache's access logfiles. To minimize
28 impact on your nameserver, logresolve has its very own internal
29 hash-table cache. This means that each IP number will only be
30 looked up the first time it is found in the log file.</p>
32 <p>Takes an Apache log file on standard input. The IP addresses
33 must be the first thing on each line and must be seperated from
34 the remainder of the line by a space.</p>
36 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
37 <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
39 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
41 <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
43 <p><code><strong>logresolve</strong> [ -<strong>s</strong>
44 <var>filename</var> ] [ -<strong>c</strong> ] <
45 <var>access_log</var> > <var>access_log.new</var></code></p>
46 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
48 <h2><a name="options" id="options">Options</a></h2>
52 <dt><code>-s <var>filename</var></code></dt>
54 <dd>Specifies a filename to record statistics.</dd>
56 <dt><code>-c</code></dt>
58 <dd>This causes <code>logresolve</code> to apply some DNS checks:
59 after finding the hostname from the IP address, it looks up the IP
60 addresses for the hostname and checks that one of these matches the
61 original address.</dd>
65 <div class="bottomlang">
66 <p><span>Available Languages: </span><a href="../en/programs/logresolve.html" hreflang="en" title="English"> en </a></p>
67 </div><div id="footer">
68 <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
69 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>