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

View File

@ -117,6 +117,11 @@ plugins:
domain: domain:
- "provider:local_ptr" - "provider:local_ptr"
- tag: match_qtype65
type: query_matcher
args:
qtype: [65]
- tag: "main_sequence" - tag: "main_sequence"
type: "sequence" type: "sequence"
args: args:
@ -130,7 +135,7 @@ plugins:
- modify_ttl - modify_ttl
- _return - _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: exec:
- _new_nxdomain_response - _new_nxdomain_response
- _return - _return