File: logresolve.8

package info (click to toggle)
apache 1.3.3-7
  • links: PTS
  • area: main
  • in suites: slink
  • size: 6,508 kB
  • ctags: 6,595
  • sloc: ansic: 50,060; sh: 3,776; perl: 1,354; makefile: 234; cpp: 55
file content (37 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.\" logresolve.8, Copyright (C) 1996, Yves Arrouye <arrouye@debian.org>
.TH LOGRESOLVE 8 "9 September 1996" "Debian/Linux" "Linux Administrator's Manual"
.SH NAME
.B logresolve
\- resolve IP addresses to names in common log file format
.SH SYNOPSYS
.B logresolve
[
.BI \-s " filename"
]
[
.B \-c
]
.SH DESCRIPTION
.B logresolve
reads entries from an access log file in the common log file format
(i.e. with the address as the first field) and outputs the same file
with all of the domain names looked up, or with the address back if
the lookup cannot be done.
.SH OPTIONS
.TP
.BI \-s " filename"
Writes statistics to
.IR filename .
.TP
.B \-c
Check the Domain Name Server for an A record for the host being looked
up.
.SH CAVEATS
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 DOCUMENTATION
Yves Arrouye <arrouye@debian.org>
.SH SEE ALSO
.BR httpd (1m)