Imported Debian patch 1:1.05-8
[hcoop/zz_old/debian/djbdns.git] / debian / djbdns-man / rbldns-data.8
CommitLineData
b4588d5c
GP
1.TH rbldns-data 8
2
3.SH NAME
4rbldns-data \- data tool for rbldns
5
6.SH DESCRIPTION
7.B rbldns-data
8reads an IP address list
9from a file named
10.I data
11in the current directory.
12It creates
13.I data.cdb
14in a binary format designed for
15fast access by
16.BR rbldns (8).
17It may also create some other files
18with names beginning with
19.IR data .
20
21.B rbldns-data
22updates
23.I data.cdb
24atomically,
25so you can use it safely while
26.BR rbldns (8)
27is running.
28If anything goes wrong with the creation of
29.IR data.cdb ,
30.B rbldns-data
31stops and leaves the old
32.I data.cdb
33in place.
34
35.SH Data format
36
37.I ip
38
39The IP address
40.I ip
41is on the list.
42
43.I ip\fR/\fIn
44
45All IP addresses that share the first
46.I n
47bits
48of the IP address
49.I ip
50are on the list.
51For example,
52.I 1.2.3.0/24
53means all
54.I 1.2.3.*
55addresses.
56.I n
57must be at least 8,
58and all bits past the
59.IR n th
60in
61.I ip
62must be 0.
63
64.RI : a\fR:\fItxt\fR
65
66DNS queries for addresses on the list
67will receive an A record of
68.I a
69and a TXT record of
70.IR txt .
71Typically
72.I a
73is
74.I 127.0.0.2
75and
76.I txt
77is a pointer to a web page about the list.
78
79If
80.I txt
81ends with
82.IR $ ,
83.BR rbldns (8)
84replaces the
85.I $
86with the IP address.
87
88.RI # comment
89
90Comment line. The line is ignored.
91
92.SH SEE ALSO
93rbldns(8)
94
95http://cr.yp.to/djbdns.html