aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-09-05 03:06:10 +0100
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2019-09-04 19:06:10 -0700
commitd79562842aacfa5808ec0b8d160d720470ece060 (patch)
tree7218aa3f1a358f4c109b9421cd3352a3fc3d4cc1
parent79f37a1460cc52ce6c63110f4df33316a36af3a5 (diff)
downloadcoredns-d79562842aacfa5808ec0b8d160d720470ece060.tar.gz
coredns-d79562842aacfa5808ec0b8d160d720470ece060.tar.zst
coredns-d79562842aacfa5808ec0b8d160d720470ece060.zip
plugin/acl: whitespace cleanup (#3239)
OWNERS file was padded, remove empty lines. Fix code block in README, and set codeblock type to 'corefile' without the upper case C. Signed-off-by: Miek Gieben <miek@miek.nl>
-rw-r--r--plugin/acl/OWNERS1
-rw-r--r--plugin/acl/README.md10
2 files changed, 5 insertions, 6 deletions
diff --git a/plugin/acl/OWNERS b/plugin/acl/OWNERS
index 5921fce19..f43391c43 100644
--- a/plugin/acl/OWNERS
+++ b/plugin/acl/OWNERS
@@ -4,4 +4,3 @@ reviewers:
approvers:
- miekg
- ihac
-
diff --git a/plugin/acl/README.md b/plugin/acl/README.md
index 49b6895a9..fe5582a6a 100644
--- a/plugin/acl/README.md
+++ b/plugin/acl/README.md
@@ -27,7 +27,7 @@ To demonstrate the usage of plugin acl, here we provide some typical examples.
Block all DNS queries with record type A from 192.168.0.0/16:
-~~~ Corefile
+~~~ corefile
. {
acl {
block type A net 192.168.0.0/16
@@ -37,18 +37,18 @@ Block all DNS queries with record type A from 192.168.0.0/16:
Block all DNS queries from 192.168.0.0/16 except for 192.168.1.0/24:
-~~~ Corefile
+~~~ corefile
. {
acl {
allow net 192.168.1.0/24
block net 192.168.0.0/16
}
}
-```
+~~~
Allow only DNS queries from 192.168.0.0/24 and 192.168.1.0/24:
-~~~ Corefile
+~~~ corefile
. {
acl {
allow net 192.168.0.0/16 192.168.1.0/24
@@ -59,7 +59,7 @@ Allow only DNS queries from 192.168.0.0/24 and 192.168.1.0/24:
Block all DNS queries from 192.168.1.0/24 towards a.example.org:
-~~~ Corefile
+~~~ corefile
example.org {
acl a.example.org {
block net 192.168.1.0/24