2019-08-30 15:58:25 +01:00
|
|
|
.\" Generated by Mmark Markdown Processer - mmark.miek.nl
|
2021-03-08 11:15:45 +00:00
|
|
|
.TH "COREDNS-ROOT" 7 "March 2021" "CoreDNS" "CoreDNS Plugins"
|
2019-04-06 08:42:40 +01:00
|
|
|
|
2019-06-24 12:37:27 +01:00
|
|
|
.SH "NAME"
|
2019-04-06 08:42:40 +01:00
|
|
|
.PP
|
|
|
|
\fIroot\fP - simply specifies the root of where to find (zone) files.
|
|
|
|
|
2019-06-24 12:37:27 +01:00
|
|
|
.SH "DESCRIPTION"
|
2019-04-06 08:42:40 +01:00
|
|
|
.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.
|
2018-01-04 12:53:07 +00:00
|
|
|
|
2019-06-24 12:37:27 +01:00
|
|
|
.SH "SYNTAX"
|
2019-04-06 08:42:40 +01:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2018-01-04 12:53:07 +00:00
|
|
|
root PATH
|
2019-04-06 08:42:40 +01:00
|
|
|
|
2018-01-04 12:53:07 +00:00
|
|
|
.fi
|
2019-04-06 08:42:40 +01:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
\fBPATH\fP is the directory to set as CoreDNS' root.
|
|
|
|
|
2019-06-24 12:37:27 +01:00
|
|
|
.SH "EXAMPLES"
|
2019-04-06 08:42:40 +01:00
|
|
|
.PP
|
|
|
|
Serve zone data (when the \fIfile\fP plugin is used) from \fB\fC/etc/coredns/zones\fR:
|
2018-01-04 12:53:07 +00:00
|
|
|
|
2019-04-06 08:42:40 +01:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
\&. {
|
2018-01-04 12:53:07 +00:00
|
|
|
root /etc/coredns/zones
|
|
|
|
}
|
2019-04-06 08:42:40 +01:00
|
|
|
|
2018-01-04 12:53:07 +00:00
|
|
|
.fi
|
2019-04-06 08:42:40 +01:00
|
|
|
.RE
|
2018-01-04 12:53:07 +00:00
|
|
|
|