aboutsummaryrefslogtreecommitdiff
path: root/plugin/acl
diff options
context:
space:
mode:
authorGravatar yuxiaobo96 <41496192+yuxiaobo96@users.noreply.github.com> 2019-10-09 15:24:18 +0800
committerGravatar corbot[bot] <39114087+corbot[bot]@users.noreply.github.com> 2019-10-09 07:24:18 +0000
commitbf356e79fc215b5c455fcaf461622d34f64e4e47 (patch)
tree0a250c1265eaf909fb5e26a12ff2d5429c3ffe1b /plugin/acl
parent65458b2de24bd748e2983e34c779f5b04d38f20c (diff)
downloadcoredns-bf356e79fc215b5c455fcaf461622d34f64e4e47.tar.gz
coredns-bf356e79fc215b5c455fcaf461622d34f64e4e47.tar.zst
coredns-bf356e79fc215b5c455fcaf461622d34f64e4e47.zip
fix spelling mistakes (#3364)
Automatically submitted.
Diffstat (limited to 'plugin/acl')
-rw-r--r--plugin/acl/README.md2
-rw-r--r--plugin/acl/acl.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/acl/README.md b/plugin/acl/README.md
index fe5582a6a..9a964db21 100644
--- a/plugin/acl/README.md
+++ b/plugin/acl/README.md
@@ -4,7 +4,7 @@
## Description
-With `acl` enabled, users are able to block suspicous DNS queries by configuring IP filter rule sets, i.e. allowing authorized queries to recurse or blocking unauthorized queries.
+With `acl` enabled, users are able to block suspicious DNS queries by configuring IP filter rule sets, i.e. allowing authorized queries to recurse or blocking unauthorized queries.
This plugin can be used multiple times per Server Block.
diff --git a/plugin/acl/acl.go b/plugin/acl/acl.go
index 2eea0a27c..ce7b041cb 100644
--- a/plugin/acl/acl.go
+++ b/plugin/acl/acl.go
@@ -81,7 +81,7 @@ RulesCheckLoop:
}
// matchWithPolicies matches the DNS query with a list of ACL polices and returns suitable
-// action agains the query.
+// action against the query.
func matchWithPolicies(policies []policy, w dns.ResponseWriter, r *dns.Msg) action {
state := request.Request{W: w, Req: r}