Replies: 1 comment 1 reply
-
reject 后面的是 dns rcode,不同 rcode 意思不一样,谷歌搜一下。 - matches: qtype 65
exec: black_hole 127.0.0.1 ::1 qtype 65 的 请求是不能用 IP 屏蔽的。所以这段配置无意义。换 reject 0。
has_resp = 有应答。即使是 servfail 这种请求不成功的应答,只要是应答,就算。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
参考https://github.com/pmkol/easymosdns 和 https://github.com/IrineSistiana/mosdns-cn
感谢两位的付出!
Powered by Mr.ican
log:
level: error
file: "./mosdns.log"
plugins:
- tag: hosts
type: hosts
args:
files: ./hosts.txt # https://cdn.jsdelivr.net/gh/VeleSila/yhosts/hosts.txt
Beta Was this translation helpful? Give feedback.
All reactions