.\" Generated by Mmark Markdown Processor - mmark.miek.nl .TH "CHAOS" 7 "August 2026" "atomdns handlers" "atomdns authors" .SH "NAME" .PP \fIchaos\fP \- respond to TXT queries in the CH class .SH "DESCRIPTION" .PP This is useful for retrieving version or author information from the server by querying a TXT record for a special domain name in the CH class. .PP The \fIchaos\fP handler configures the \fIunpack\fP handler to allow CHAOS class queries. .SH "SYNTAX" .PP .RS .nf chaos [VERSION] { authors { "First Author" "Second Author" ... } } .fi .RE .IP \(bu 4 \fBVERSION\fP is the version to return. Defaults to "Served by atomdns, https://atomdns.miek.nl" if not set. .IP \(bu 4 The \fB\fCauthors\fR property holds the authors that are returned. .PP Note that you have to make sure that this handler will get actual queries for the following zone \fIprefixes\fP: \fB\fCversion.\fR, \fB\fCauthors.\fR, \fB\fChostname.\fR and \fB\fCid.\fR, i.e. having \fB\fCversion.example.org\fR will suffice to get queries for the \fB\fCversion.\fR prefix. .SH "EXAMPLES" .PP Specify all the zones: .PP .RS .nf version.bind/CH version.server/CH authors.bind/CH hostname.bind/CH id.server/CH authors.server/CH { chaos atomdns\-001 { authors { info@example.org } } } .fi .RE .PP And test with \fB\fCdig\fR: .PP .RS .nf % dig @localhost CH TXT version.bind ;; ANSWER SECTION: version.bind. 0 CH TXT "atomdns\-001" .fi .RE