| 1 |
.\" Generated by Mmark Markdown Processor - mmark.miek.nl |
| 2 |
.TH "ROOT" 7 "August 2026" "atomdns handlers" "atomdns authors" |
| 3 |
|
| 4 |
.SH "NAME" |
| 5 |
.PP |
| 6 |
\fIroot\fP \- override the global root |
| 7 |
|
| 8 |
.SH "DESCRIPTION" |
| 9 |
.PP |
| 10 |
This handler allows for overriding the \fB\fCroot\fR directive from the global block in the current handler block. |
| 11 |
It works identical to the atomdns\-global(1) \fB\fCroot\fR's configuration. |
| 12 |
|
| 13 |
.SH "SYNTAX" |
| 14 |
.PP |
| 15 |
.RS |
| 16 |
|
| 17 |
.nf |
| 18 |
root DIRECTORY |
| 19 |
|
| 20 |
.fi |
| 21 |
.RE |
| 22 |
|
| 23 |
.IP \(bu 4 |
| 24 |
with \fB\fCroot\fR \fBDIRECTORY\fP is the directory to use as the root directory in the handler block. Any relative path |
| 25 |
names will get this directory prefixed. If \fBDIRECTORY\fP itself is also relative, the current working |
| 26 |
directory (cwd) of the atomdns process will be prefixed. |
| 27 |
|
| 28 |
|
| 29 |
.SH "EXAMPLES" |
| 30 |
.PP |
| 31 |
.RS |
| 32 |
|
| 33 |
.nf |
| 34 |
example.org { |
| 35 |
root /my/zones |
| 36 |
dbfile db.example.org |
| 37 |
} |
| 38 |
|
| 39 |
.fi |
| 40 |
.RE |
| 41 |
|
| 42 |
.PP |
| 43 |
The "db.example.org" zone should now be located in /my/zones. |
| 44 |
|
| 45 |
.SH "NOTES" |
| 46 |
.PP |
| 47 |
This handler must be set first in a handler block to effect all subsequent handlers in the block. |
| 48 |
|
| 49 |
.SH "ALSO SEE" |
| 50 |
.PP |
| 51 |
atomdns\-global(1). |