aboutsummaryrefslogtreecommitdiff
path: root/plugin/erratic
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-09-19 14:17:53 +0100
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2019-09-19 06:17:53 -0700
commit62317c3c14e306e337f7aa0507a2245495c7aed2 (patch)
tree29a87e88a708ee790537d62cd8861806ca2ae9da /plugin/erratic
parent31299108ce374ce59ba6a3d7d16fde039ea47bc1 (diff)
downloadcoredns-62317c3c14e306e337f7aa0507a2245495c7aed2.tar.gz
coredns-62317c3c14e306e337f7aa0507a2245495c7aed2.tar.zst
coredns-62317c3c14e306e337f7aa0507a2245495c7aed2.zip
update doc to not use the root zone for everything (#3288)
Update all documentation in the tree to use example.org as an example configuration (in so far possible). As to get out of the just use "." and fallthrough and things would be fine. Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/erratic')
-rw-r--r--plugin/erratic/README.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugin/erratic/README.md b/plugin/erratic/README.md
index e3bd79ae8..dcd74097c 100644
--- a/plugin/erratic/README.md
+++ b/plugin/erratic/README.md
@@ -40,7 +40,7 @@ This plugin reports readiness to the ready plugin.
## Examples
~~~ corefile
-. {
+example.org {
erratic {
drop 3
}
@@ -50,7 +50,7 @@ This plugin reports readiness to the ready plugin.
Or even shorter if the defaults suits you. Note this only drops queries, it does not delay them.
~~~ corefile
-. {
+example.org {
erratic
}
~~~
@@ -58,7 +58,7 @@ Or even shorter if the defaults suits you. Note this only drops queries, it does
Delay 1 in 3 queries for 50ms
~~~ corefile
-. {
+example.org {
erratic {
delay 3 50ms
}
@@ -68,7 +68,7 @@ Delay 1 in 3 queries for 50ms
Delay 1 in 3 and truncate 1 in 5.
~~~ corefile
-. {
+example.org {
erratic {
delay 3 5ms
truncate 5
@@ -79,7 +79,7 @@ Delay 1 in 3 and truncate 1 in 5.
Drop every second query.
~~~ corefile
-. {
+example.org {
erratic {
drop 2
truncate 2
@@ -89,5 +89,4 @@ Drop every second query.
## Also See
-[RFC 3849](https://tools.ietf.org/html/rfc3849) and
-[RFC 5737](https://tools.ietf.org/html/rfc5737).
+[RFC 3849](https://tools.ietf.org/html/rfc3849) and [RFC 5737](https://tools.ietf.org/html/rfc5737).