coredns/man/coredns-root.7
coredns-auto-go-mod-tidy[bot] 964b621d32 auto make -f Makefile.doc
2020-08-10 08:38:37 +00:00

43 lines
736 B
Groff

.\" Generated by Mmark Markdown Processer - mmark.miek.nl
.TH "COREDNS-ROOT" 7 "August 2020" "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