.\" Generated by Mmark Markdown Processor - mmark.miek.nl .TH "ATOMDNS" 1 "August 2026" "atomdns" "atomdns authors" .SH "NAME" .PP \fIatomdns\fP \- DNS nameserver that runs handlers .SH "SYNOPSIS" .PP \fIatomdns\fP \fB[\-C|\-H|\-V]\fP [CONFFILE] .SH "DESCRIPTION" .PP atomdns is a DNS server that chains handlers. Each handler handles a DNS feature, like serve zone files, transfering those to secondaries or just exporting metrics. There are many handlers, each described in their respective manual page. If an unknown handler is encountered it is skipped, while outputting a warning. .PP The server atomdns can be reloaded by sending it the HUP signal, this reloads the handlers only, and does \fInot\fP restart any of the (web) servers, so changes to server addresses and limits (see atomdns\-global(7)) will not be applied through reloads. I.e. if you modified the health endpoint that change \fIwill not\fP be picked up. For those kind of changes the server needs to be restarted. Modifiying origins or handlers \fIare\fP picked up. .PP The \fIglobal\fP handler describes the options that are also used in starting the server, see atomdns\-global(7) for more information. Normally you need a \fBCONFFILE\fP (atomdns\-conffile(5)) like this, to listen on all addresses on port 53: .PP .RS .nf { dns { addr [::]:53 } } .fi .RE .PP When atomdns starts it emits logs telling what zones are loaded and which (background) routines are started, when succesful you are greeted with a banner (unless \fB\fCquiet\fR is true see atomdns\-global(7)). .PP .RS .nf ┏━┓ ╺┳╸ ┏━┓ ┏┳┓ ┣━┫ ┃ ┃ ┃ ┃┃┃ DNS ╹ ╹ ╹ ┗━┛ ╹ ╹ v024 (0.5.15) High performance and flexible DNS server https://atomdns.miek.nl \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\\o/\_\_\_\_\_\_\_ .fi .RE .PP There is optional positional argument, the \fBCONFFILE\fP to configure atomdns. If not given atomdns will use this builtin Conffile: .PP .RS .nf { dns { addr [::]1053 } } example.org { log whoami } .fi .RE .PP The following options are available: .TP \fB\-C\fP check the configuration, report any erors and exit with status 1 or if everything is OK exit with status code 0. .TP \fB\-H\fP list all handlers and quit. .TP \fB\-V\fP Show version and quit. .SH "HANDLERS" .PP The following handlers are available: .IP \(bu 4 \fIacl\fP \- enforces access control policies. See atomdns\-acl(7). .IP \(bu 4 \fIany\fP \- give a minimal response to ANY queries. See atomdns\-any(7). .IP \(bu 4 \fIas112\fP \- an AS112 black hole server. See atomdns\-as112(7). .IP \(bu 4 \fIchaos\fP \- respond to TXT queries in the CH class. See atomdns\-chaos(7). .IP \(bu 4 \fIcookie\fP \- adds an DNS cookie of this server to each reply. See atomdns\-cookie(7). .IP \(bu 4 \fIdbfile\fP \- serve zone data from an RFC 1035\-style file. See atomdns\-dbfile(7). .IP \(bu 4 \fIdbhosts\fP \- serve data from \fB\fC/etc/hosts\fR. See atomdns\-dbhost(7). .IP \(bu 4 \fIdbsqilte\fP \- serve zone data from a SQLite database. See atomdns\-dbsqlite(7). .IP \(bu 4 \fIdrunk\fP \- test client behavior. See atomdns\-drunk(7). .IP \(bu 4 \fIecs\fP \- add EDNS client subnet to the context. See atomdns\-ecs(7). .IP \(bu 4 \fIempty\fP \- consume setup tokens. See atomdns\-empty(7). .IP \(bu 4 \fIgeoip\fP \- add geographical location data. See atomdns\-geoip(7). .IP \(bu 4 \fIglobal\fP \- hold server properties. See atomdns\-global(7). .IP \(bu 4 \fIid\fP \- add unique ID to the context. See atomdns\-id(7). .IP \(bu 4 \fIimport\fP \- includes files or references snippets from a Conffile. See atomdns\-import(7). .IP \(bu 4 \fIkill\fP \- stop atomdns after a duration. See atomdns\-kill(7). .IP \(bu 4 \fIlog\fP \- log queries. See atomdns\-log(7). .IP \(bu 4 \fImetrics\fP \- enable prometheus \[la]https://prometheus.io/\[ra] metrics. See atomdns\-metrics(7). .IP \(bu 4 \fInsid\fP \- adds an identifier of this server to each reply. See atomdns\-nsid(7). .IP \(bu 4 \fIrefuse\fP \- refuse queries. See atomdns\-refuse(7). .IP \(bu 4 \fIroot\fP \- override the global root. See atomdns\-root(7). .IP \(bu 4 \fIsign\fP \- add DNSSEC records to zone files. See atomdns\-sign(7). .IP \(bu 4 \fIurl\fP \- serve zone data from an URL. See atomdns\-url(7). .IP \(bu 4 \fIwhoami\fP \- return your resolver's local IP address, port and transport. See atomdns\-whoami(7). .SH "DIFFERENCE WITH COREDNS" .PP atomdns looks a lot like CoreDNS, the main differences are: .IP \(bu 4 Uses dnsv2 (this library) which is 2x more efficient \fIand\fP incorperates a lot of ideas from CoreDNS. .IP \(bu 4 Allows for dynamic ordering of handlers, handlers in CoreDNS (called plugins) have a static ordering, set at compile time. .IP \(bu 4 Ignores unknown handlers, CoreDNS stops with an error in that case. .SH "AUTHORS" .PP atomdns authors. .SH "COPYRIGHT" .PP Apache License 2.0 .SH "SEE ALSO" .PP See atomdns\-conffile(5), and atomdns\-global(7), and https://atomdns.miek.nl with more documentation.