feat: add fake-ip-filter-mode in dns

https://github.com/MetaCubeX/mihomo/issues/1479
This commit is contained in:
wwqgtxx
2024-08-31 09:59:48 +08:00
parent 08ac9a3fae
commit f6164ac195
5 changed files with 100 additions and 1 deletions

View File

@@ -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