aboutsummaryrefslogtreecommitdiff
path: root/plugin/auto
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-10-10 09:39:35 +0200
committerGravatar GitHub <noreply@github.com> 2017-10-10 09:39:35 +0200
commit427aed6f5b465277dbc85be3ffbdccf0b88257ac (patch)
tree7145ba2944e0e1ee7bf54df89bb2fcc677225197 /plugin/auto
parent7c6ba3fcbd78d8698b62925451b39cb103cbadbc (diff)
downloadcoredns-427aed6f5b465277dbc85be3ffbdccf0b88257ac.tar.gz
coredns-427aed6f5b465277dbc85be3ffbdccf0b88257ac.tar.zst
coredns-427aed6f5b465277dbc85be3ffbdccf0b88257ac.zip
doc update (#1140)
* doc update Go through all README and fix mistakes, extend example and let more corefile snippets be test for validity. * Cant use spefic addr in test
Diffstat (limited to 'plugin/auto')
-rw-r--r--plugin/auto/README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugin/auto/README.md b/plugin/auto/README.md
index 6d65cff1d..9902ffe8c 100644
--- a/plugin/auto/README.md
+++ b/plugin/auto/README.md
@@ -37,9 +37,11 @@ are used.
All directives from the *file* plugin are supported. Note that *auto* will load all zones found,
even though the directive might only receive queries for a specific zone. I.e:
-~~~
-auto example.org {
- directory /etc/coredns/zones
+~~~ corefile
+. {
+ auto example.org {
+ directory /etc/coredns/zones
+ }
}
~~~
Will happily pick up a zone for `example.COM`, except it will never be queried, because the *auto*