mirror of
https://github.com/coredns/coredns.git
synced 2026-07-16 12:40:11 -04:00
plugin/acl: Fix autopath from bypassing acl checks (#8290)
This fix prevents CoreDNS `autopath` from bypassing `acl` checks when it rewrites an allowed query into a name within an ACL-protected zone. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -42,11 +42,11 @@ var Directives = []string{
|
||||
"loadbalance",
|
||||
"tsig",
|
||||
"rewrite",
|
||||
"autopath",
|
||||
"acl",
|
||||
"cache",
|
||||
"header",
|
||||
"dnssec",
|
||||
"autopath",
|
||||
"minimal",
|
||||
"template",
|
||||
"transfer",
|
||||
|
||||
Reference in New Issue
Block a user