mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
feat: add fake-ip-filter-mode in dns
https://github.com/MetaCubeX/mihomo/issues/1479
This commit is contained in:
@@ -249,6 +249,9 @@ dns:
|
||||
- rule-set:fakeip-filter
|
||||
# fakeip-filter 为 geosite 中名为 fakeip-filter 的分类(需要自行保证该分类存在)
|
||||
- geosite:fakeip-filter
|
||||
# 配置fake-ip-filter的匹配模式,默认为blacklist,即如果匹配成功不返回fake-ip
|
||||
# 可设置为whitelist,即只有匹配成功才返回fake-ip
|
||||
fake-ip-filter-mode: blacklist
|
||||
|
||||
# use-hosts: true # 查询 hosts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user