aboutsummaryrefslogtreecommitdiff
path: root/plugin/hosts
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/hosts
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/hosts')
-rw-r--r--plugin/hosts/README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/hosts/README.md b/plugin/hosts/README.md
index 5e6ab0ec7..e792ff207 100644
--- a/plugin/hosts/README.md
+++ b/plugin/hosts/README.md
@@ -29,8 +29,10 @@ hosts [FILE [ZONES...]] {
Load `/etc/hosts` file.
-~~~
-hosts
+~~~ corefile
+. {
+ hosts
+}
~~~
Load `example.hosts` file in the current directory.