43 lines
735 B
Groff
43 lines
735 B
Groff
.\" Generated by Mmark Markdown Processer - mmark.miek.nl
|
|
.TH "COREDNS-ROOT" 7 "March 2021" "CoreDNS" "CoreDNS Plugins"
|
|
|
|
.SH "NAME"
|
|
.PP
|
|
\fIroot\fP - simply specifies the root of where to find (zone) files.
|
|
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
The default root is the current working directory of CoreDNS. The \fIroot\fP plugin allows you to change
|
|
this. A relative root path is relative to the current working directory.
|
|
|
|
.PP
|
|
This plugin can only be used once per Server Block.
|
|
|
|
.SH "SYNTAX"
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
root PATH
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.PP
|
|
\fBPATH\fP is the directory to set as CoreDNS' root.
|
|
|
|
.SH "EXAMPLES"
|
|
.PP
|
|
Serve zone data (when the \fIfile\fP plugin is used) from \fB\fC/etc/coredns/zones\fR:
|
|
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
\&. {
|
|
root /etc/coredns/zones
|
|
}
|
|
|
|
.fi
|
|
.RE
|
|
|