mirror of
https://github.com/coredns/coredns.git
synced 2026-07-16 04:30:11 -04:00
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:
@@ -41,9 +41,9 @@ var Directives = []string{
|
||||
"chaos",
|
||||
"loadbalance",
|
||||
"tsig",
|
||||
"cache",
|
||||
"rewrite",
|
||||
"acl",
|
||||
"cache",
|
||||
"header",
|
||||
"dnssec",
|
||||
"autopath",
|
||||
|
||||
Reference in New Issue
Block a user