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:
Yong Tang
2026-07-14 22:36:06 -07:00
committed by GitHub
parent 1ba14119d0
commit 18a58b9e89
3 changed files with 72 additions and 2 deletions

View File

@@ -42,11 +42,11 @@ var Directives = []string{
"loadbalance",
"tsig",
"rewrite",
"autopath",
"acl",
"cache",
"header",
"dnssec",
"autopath",
"minimal",
"template",
"transfer",