Skip to content

Commit c42368d

Browse files
committed
fix dns type matchers
1 parent f56fe84 commit c42368d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_example/mosdns.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,14 @@ plugins:
207207
- tag: query_is_not_aaaa_a
208208
type: sequence
209209
args:
210-
- matches: "!qclass 1 28"
210+
- matches: "!qtype 1 28"
211211
exec: $local_sequence
212212

213213
# 阻止Https类型
214214
- tag: query_is_https
215215
type: sequence
216216
args:
217-
- matches: qclass 65
217+
- matches: qtype 65
218218
exec: reject 0
219219

220220
# 主要的运行逻辑插件

0 commit comments

Comments
 (0)