luci-app-mosdns: config.yaml: fix whitelist
DNS cache problem
This commit is contained in:
parent
0df11e88d2
commit
6235e5d766
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user