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.0</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/">Documentation</a> > <a href="../">Version 2.0</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" title="English"> en </a> |
24 <a href="../ko/programs/logresolve.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
25 <a href="../tr/programs/logresolve.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
28 <p><code>logresolve</code> is a post-processing program to
29 resolve IP-addresses in Apache's access logfiles. To minimize
30 impact on your nameserver, logresolve has its very own internal
31 hash-table cache. This means that each IP number will only be
32 looked up the first time it is found in the log file.</p>
34 <p>Takes an Apache log file on standard input. The IP addresses
35 must be the first thing on each line and must be seperated from
36 the remainder of the line by a space.</p>
38 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
39 <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
41 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
43 <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
45 <p><code><strong>logresolve</strong> [ -<strong>s</strong>
46 <var>filename</var> ] [ -<strong>c</strong> ] <
47 <var>access_log</var> > <var>access_log.new</var></code></p>
48 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
50 <h2><a name="options" id="options">Options</a></h2>
54 <dt><code>-s <var>filename</var></code></dt>
56 <dd>Specifies a filename to record statistics.</dd>
58 <dt><code>-c</code></dt>
60 <dd>This causes <code>logresolve</code> to apply some DNS checks:
61 after finding the hostname from the IP address, it looks up the IP
62 addresses for the hostname and checks that one of these matches the
63 original address.</dd>
67 <div class="bottomlang">
68 <p><span>Available Languages: </span><a href="../en/programs/logresolve.html" title="English"> en </a> |
69 <a href="../ko/programs/logresolve.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
70 <a href="../tr/programs/logresolve.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
71 </div><div id="footer">
72 <p class="apache">Copyright 2009 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
73 <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>