Replies: 2 comments 3 replies
-
Do you mean something like #1271? |
Beta Was this translation helpful? Give feedback.
1 reply
-
我这将 dns 请求转发至 dns_in,dns_in 写了 sniffing 然后路由也配置了 dns_in->dns_out,v2ray 应该是知道 ip 对应的域名是什么的, 但配置域名规则,路由完全没用,全走默认代理了。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在我的理解里,sniffing功能应该有以下用途
1,修正dns劫持
2,sniffing出域名,根据域名进行路由(透明代理场景下
现在实现里其实只有1的功能。
v2ray-core/app/dispatcher/default.go
Lines 214 to 234 in 65e425e
只有符合shouldOverride(即开启destOverride)
sniffing出的域名才会参与后续的
d.routedDispatch
不管是否override dest,只要开启sniffing,都应该让域名参与路由分配。
Beta Was this translation helpful? Give feedback.
All reactions