Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

默认配置文件增加对应配置以减少可能遇到的延迟 #111

Open
Dusk0531 opened this issue Dec 26, 2024 · 0 comments
Open

默认配置文件增加对应配置以减少可能遇到的延迟 #111

Dusk0531 opened this issue Dec 26, 2024 · 0 comments

Comments

@Dusk0531
Copy link

Dusk0531 commented Dec 26, 2024

通过在配置文件增加fallback以达到更好的效果
根据相应文档
可知,启用fallback后会默认启用 fallback-filter,geoip-code为 cn,而geoip-code外的国家ip会一律视为污染从而使用fallback的结果,因此修改对应配置文件为
dns: enable: true prefer-h3: true ipv6: true listen: 0.0.0.0:1053 enhanced-mode: fake-ip fake-ip-range: 198.18.0.0/16 genip: true fake-ip-filter: - "*" - "+.lan" - "connect.rom.miui.com" - "localhost.ptlogin2.qq.com" default-nameserver: - 119.29.29.29 - 9.9.9.9 - 114.114.114.114 nameserver: - https://sm2.doh.pub/dns-query - https://dns.alidns.com/dns-query fallback: - https://dns.quad9.net/dns-query - https://cloudflare-dns.com/dns-query - https://doh.opendns.com/dns-query - https://dns.google/dns-query
可尽量避免中国大陆应用使用国外dns后加载缓慢,但使用国内dns后导致可能的泄露问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant