coredns/plugin/root
Miek Gieben fd7abd9849
Add OWNERS file (#1486)
This should have everyone, but the process was quite manual. The rename
from middleware -> plugin also meant I had to do some extra digging on
who actually submitted the PR. I also double checked the current list of
people with commit access.

Every plugin now has an OWNERS, except *reverse*. I'll file a bug for
that.
2018-02-08 10:55:51 +00:00
..
OWNERS Add OWNERS file (#1486) 2018-02-08 10:55:51 +00:00
README.md Manual pages (#1346) 2018-01-04 12:53:07 +00:00
root.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
root_test.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00

root

Name

root - simply specifies the root of where to find (zone) files.

Description

The default root is the current working directory of CoreDNS. The root plugin allows you to change this. A relative root path is relative to the current working directory.

Syntax

root PATH

PATH is the directory to set as CoreDNS' root.

Examples

Serve zone data (when the file plugin is used) from /etc/coredns/zones:

. {
    root /etc/coredns/zones
}