plugin/acl: Fix blocked clients from receiving cached DNS answers (#8289)

This PR fixes plugin ordering so ACL checks run before cache lookups,
preventing blocked clients from receiving cached DNS answers populated by allowed clients

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang
2026-07-14 22:26:49 -07:00
committed by GitHub
parent 7cd99da013
commit 1ba14119d0
3 changed files with 151 additions and 2 deletions

View File

@@ -41,9 +41,9 @@ var Directives = []string{
"chaos",
"loadbalance",
"tsig",
"cache",
"rewrite",
"acl",
"cache",
"header",
"dnssec",
"autopath",