Imported Debian patch 1:1.05-8
[hcoop/zz_old/debian/djbdns.git] / debian / djbdns-man / dnsfilter.1
CommitLineData
b4588d5c
GP
1.TH dnsfilter 1
2
3.SH NAME
4dnsfilter \- reverse-resolves IP addresses, converting them to host names.
5
6.SH SYNOPSIS
7.B dnsfilter
8[
9.I opts
10]
11
12.SH DESCRIPTION
13.B dnsfilter
14reads a series of lines from stdin,
15converts an IP address to a host name at the beginning of each line,
16and prints the results to stdout.
17
18If a line does not begin with an IP address,
19.B dnsfilter
20leaves the line alone.
21If an IP address does not have a host name listed in DNS,
22.B dnsfilter
23leaves the line alone.
24If an IP address has a host name listed in DNS,
25.B dnsfilter
26inserts an equals sign and the host name
27before the first space or tab in the line.
28If a DNS lookup fails temporarily,
29.B dnsfilter
30inserts a colon and a dash-separated error message
31before the first space or tab in the line.
32
33While
34.B dnsfilter
35is looking up an address in DNS,
36it reads ahead in the input and looks for more addresses to look up in parallel.
37
38.SH OPTIONS
39
40.I opts
41is a series of getopt-style options:
42
43.TP
44.B \-c \fIn
45Do at most
46.I n
47DNS queries in parallel.
48Default: 10.
49
50.TP
51.B -l \fIn
52Read ahead at most
53.I n
54lines.
55Default: 1000.
56
57.SH SEE ALSO
58dnsip(1),
59dnsipq(1),
60dnsname(1),
61dnsmx(1),
62dnstxt(1),
63dnsqr(1),
64dnsq(1),
65dnstrace(1)
66
67http://cr.yp.to/djbdns.html