luci-app-mosdns: config.yaml: fix whitelist DNS cache problem

This commit is contained in:
sbwml 2023-03-29 07:41:22 +08:00
parent 0df11e88d2
commit 6235e5d766
2 changed files with 6 additions and 4 deletions

View File

@ -169,7 +169,9 @@ plugins:
type: sequence type: sequence
args: args:
- matches: qname $whitelist - matches: qname $whitelist
exec: $local_sequence exec: $cache
- exec: $local_sequence
- exec: jump has_resp_sequence
# 查询灰名单 # 查询灰名单
- tag: query_is_greylist_domain - tag: query_is_greylist_domain
@ -204,7 +206,6 @@ plugins:
- exec: $redirect - exec: $redirect
- exec: jump has_resp_sequence - exec: jump has_resp_sequence
- exec: $query_is_whitelist_domain - exec: $query_is_whitelist_domain
- exec: jump has_resp_sequence
- exec: $query_is_reject_domain - exec: $query_is_reject_domain
- exec: $cache - exec: $cache
- exec: jump has_resp_sequence - exec: jump has_resp_sequence

View File

@ -154,7 +154,9 @@ plugins:
type: sequence type: sequence
args: args:
- matches: qname $whitelist - matches: qname $whitelist
exec: $local_sequence exec: $cache
- exec: $local_sequence
- exec: jump has_resp_sequence
- tag: query_is_greylist_domain - tag: query_is_greylist_domain
type: sequence type: sequence
@ -186,7 +188,6 @@ plugins:
- exec: $redirect - exec: $redirect
- exec: jump has_resp_sequence - exec: jump has_resp_sequence
- exec: $query_is_whitelist_domain - exec: $query_is_whitelist_domain
- exec: jump has_resp_sequence
- exec: $query_is_reject_domain - exec: $query_is_reject_domain
- exec: $cache - exec: $cache
- exec: jump has_resp_sequence - exec: jump has_resp_sequence