Imported Debian patch 1:1.05-8
[hcoop/zz_old/debian/djbdns.git] / debian / djbdns-man / tinydns.8
CommitLineData
b4588d5c
GP
1.TH tinydns 8
2
3.SH NAME
4tinydns \- a DNS server.
5
6.SH DESCRIPTION
7.B tinydns
8accepts iterative DNS queries
9from hosts around the Internet,
10and responds with locally configured information.
11
12.SH Configuration
13This is a reference page.
14For tutorial information, see the instructions for
15.br
16.B running a DNS server
17(http://cr.yp.to/djbdns/run-server.html).
18
19Normally
20.B tinydns
21is set up by the
22.BR tinydns-conf (8)
23program.
24
25.B tinydns
26runs chrooted in the directory
27specified by the
28.I $ROOT
29environment variable,
30under the uid and gid
31specified by the
32.I $UID
33and
34.I $GID
35environment variables.
36
37.B tinydns
38listens for incoming UDP packets
39addressed to port 53 of
40.IR $IP .
41It does not listen for TCP queries.
42
43.B tinydns
44answers queries
45as specified by
46.IR data.cdb ,
47a binary file created by
48.BR tinydns-data (8).
49
50.SH Further details
51
52.B tinydns
53rejects
54zone-transfer requests,
55inverse queries, non-Internet-class queries, truncated packets, and
56packets that contain anything other than a single query.
57
58.BR tinydns ,
59like BIND,
60includes NS records with answers to most queries.
61This increases DNS packet sizes,
62but it draws queries away from parent servers,
63and reduces the frequency of long DNS delays.
64With the default
65.BR tinydns-data (8)
66cache times,
67a client that uses a normal record at least once every day
68will always have the corresponding NS records cached
69and will never have to talk to parent servers.
70
71.SH SEE ALSO
72tinydns-conf(8),
73tinydns-data(8)
74
75http://cr.yp.to/djbdns.html