coredns/man/coredns-root.7
Miek Gieben b780f49ccf
manpages: chop off first header (#2764)
each readme starts with the plugin's name as a header, this needs to be
chopped off to provide a good manual page.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-04-06 14:09:05 +01:00

43 lines
724 B
Groff

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