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

cn_ip绕过内核的原理是啥?开启后会影响geosite:category-ads-all去广告吗? #680

Closed
suikastar opened this issue Jun 22, 2024 · 1 comment

Comments

@suikastar
Copy link

问题一:现有一个CN广告域名,开启绕过内核后,DNS是怎么解析的?内核会拦截这个DNS解析吗?
问题二:解析得到国内IP,访问IP不经过内核,那内核配置的去广告规则不就失效了?

@suikastar
Copy link
Author

vernesong/OpenClash#3467

是不是内核先拦截DNS解析,得到真实ip后再决定要不要绕过内核?这样确实会享受不到rules.yaml配置的去广告规则。不过由于可以给把去广告规则配置在nameserver-policy下,例如'geosite:category-ads-all': rcode://success,倒也能解决问题

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