luci-app-mosdns: config: disable HTTPS(65) DNS record types

* Until now, it is still a draft.
This commit is contained in:
sbwml 2022-07-12 02:44:20 +08:00
parent 9f717ad357
commit ed1bba13e4
2 changed files with 12 additions and 2 deletions

View File

@ -106,6 +106,11 @@ plugins:
domain:
- "provider:geosite:category-ads-all"
- tag: match_qtype65
type: query_matcher
args:
qtype: [65]
- tag: "main_sequence"
type: "sequence"
args:
@ -119,7 +124,7 @@ plugins:
- modify_ttl
- _return
- if: "query_is_blocklist_domain || query_is_ad_domain"
- if: "query_is_blocklist_domain || query_is_ad_domain || match_qtype65"
exec:
- _new_nxdomain_response
- _return

View File

@ -117,6 +117,11 @@ plugins:
domain:
- "provider:local_ptr"
- tag: match_qtype65
type: query_matcher
args:
qtype: [65]
- tag: "main_sequence"
type: "sequence"
args:
@ -130,7 +135,7 @@ plugins:
- modify_ttl
- _return
- if: "query_is_blocklist_domain || query_is_ad_domain || match_local_ptr"
- if: "query_is_blocklist_domain || query_is_ad_domain || match_local_ptr || match_qtype65"
exec:
- _new_nxdomain_response
- _return