blob: feb8ea30a1813dc948a6baf4ca6b1f91cde554a1 [file] [log] [blame]
.TH logresolve 8 "February 2004"
.\" Licensed to the Apache Software Foundation (ASF) under one or more
.\" contributor license agreements. See the NOTICE file distributed with
.\" this work for additional information regarding copyright ownership.
.\" The ASF licenses this file to You under the Apache License, Version 2.0
.\" (the "License"); you may not use this file except in compliance with
.\" the License. You may obtain a copy of the License at
.\"
.\" http://www.apache.org/licenses/LICENSE-2.0
.\"
.\" Unless required by applicable law or agreed to in writing, software
.\" distributed under the License is distributed on an "AS IS" BASIS,
.\" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
.\" See the License for the specific language governing permissions and
.\" limitations under the License.
.\"
.SH NAME
logresolve \- resolve hostnames for IP-adresses in Apache logfiles
.SH SYNOPSIS
.B logresolve
[
.BI \-s " filename"
] [
.B \-c
] <
.I access_log
>
.I access_log.new
.PP
.SH DESCRIPTION
.B logresolve
is a post-processing program to resolve IP-adresses 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.
.SH OPTIONS
.TP 12
.BI \-s " filename"
Specifies a filename to record statistics.
.TP 12
.B \-c
This causes
.B 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 these
matches the original address.
.PD
.SH SEE ALSO
.BR httpd(8)
.