Debian Codegraph @

cmd/atomdns/man/atomdns-chaos.7

raw
1 .\" Generated by Mmark Markdown Processor - mmark.miek.nl
2 .TH "CHAOS" 7 "August 2026" "atomdns handlers" "atomdns authors"
3
4 .SH "NAME"
5 .PP
6 \fIchaos\fP \- respond to TXT queries in the CH class
7
8 .SH "DESCRIPTION"
9 .PP
10 This is useful for retrieving version or author information from the server by querying a TXT record
11 for a special domain name in the CH class.
12
13 .PP
14 The \fIchaos\fP handler configures the \fIunpack\fP handler to allow CHAOS class queries.
15
16 .SH "SYNTAX"
17 .PP
18 .RS
19
20 .nf
21 chaos [VERSION] {
22 authors {
23 "First Author"
24 "Second Author"
25 ...
26 }
27 }
28
29 .fi
30 .RE
31
32 .IP \(bu 4
33 \fBVERSION\fP is the version to return. Defaults to "Served by atomdns, https://atomdns.miek.nl" if not set.
34 .IP \(bu 4
35 The \fB\fCauthors\fR property holds the authors that are returned.
36
37
38 .PP
39 Note that you have to make sure that this handler will get actual queries for
40 the following zone \fIprefixes\fP: \fB\fCversion.\fR, \fB\fCauthors.\fR, \fB\fChostname.\fR and \fB\fCid.\fR,
41 i.e. having \fB\fCversion.example.org\fR will suffice to get queries for the
42 \fB\fCversion.\fR prefix.
43
44 .SH "EXAMPLES"
45 .PP
46 Specify all the zones:
47
48 .PP
49 .RS
50
51 .nf
52 version.bind/CH version.server/CH authors.bind/CH hostname.bind/CH id.server/CH authors.server/CH {
53 chaos atomdns\-001 {
54 authors {
55 [email protected]
56 }
57 }
58 }
59
60 .fi
61 .RE
62
63 .PP
64 And test with \fB\fCdig\fR:
65
66 .PP
67 .RS
68
69 .nf
70 % dig @localhost CH TXT version.bind
71
72 ;; ANSWER SECTION:
73 version.bind. 0 CH TXT "atomdns\-001"
74
75 .fi
76 .RE