diff --git a/luci-app-mosdns/root/etc/mosdns/config_custom.yaml b/luci-app-mosdns/root/etc/mosdns/config_custom.yaml index f67722e..798dcab 100644 --- a/luci-app-mosdns/root/etc/mosdns/config_custom.yaml +++ b/luci-app-mosdns/root/etc/mosdns/config_custom.yaml @@ -169,7 +169,9 @@ plugins: type: sequence args: - matches: qname $whitelist - exec: $local_sequence + exec: $cache + - exec: $local_sequence + - exec: jump has_resp_sequence # 查询灰名单 - tag: query_is_greylist_domain @@ -204,7 +206,6 @@ plugins: - exec: $redirect - exec: jump has_resp_sequence - exec: $query_is_whitelist_domain - - exec: jump has_resp_sequence - exec: $query_is_reject_domain - exec: $cache - exec: jump has_resp_sequence diff --git a/luci-app-mosdns/root/usr/share/mosdns/default.yaml b/luci-app-mosdns/root/usr/share/mosdns/default.yaml index f1cf76b..6ccaf21 100644 --- a/luci-app-mosdns/root/usr/share/mosdns/default.yaml +++ b/luci-app-mosdns/root/usr/share/mosdns/default.yaml @@ -154,7 +154,9 @@ plugins: type: sequence args: - matches: qname $whitelist - exec: $local_sequence + exec: $cache + - exec: $local_sequence + - exec: jump has_resp_sequence - tag: query_is_greylist_domain type: sequence @@ -186,7 +188,6 @@ plugins: - exec: $redirect - exec: jump has_resp_sequence - exec: $query_is_whitelist_domain - - exec: jump has_resp_sequence - exec: $query_is_reject_domain - exec: $cache - exec: jump has_resp_sequence