coredns/middleware/root
Miek Gieben 4cfd19c7c9 middleware/httpproxy: add debug queries (#446)
* middleware/httproxy: implement debug queries

Not too useful at the moment, but o-o.debug queries are supported
and return the Comment from dns.google.com.

Note that this is not always set.

* improve documentation

* Testing cleanups
2016-11-29 09:54:57 +00:00
..
README.md middleware/root: add it (#330) 2016-10-11 20:42:28 +01:00
root.go middleware/root: add it (#330) 2016-10-11 20:42:28 +01:00
root_test.go middleware/httpproxy: add debug queries (#446) 2016-11-29 09:54:57 +00:00

root

root simply specifies the root of where CoreDNS finds (e.g.) zone files. The default root is the current working directory of CoreDNS. 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 middleware is used) from /etc/coredns/zones:

root /etc/coredns/zones