Replies: 5 comments 13 replies
-
这样修改之后,DNS相关的逻辑更清楚: |
Beta Was this translation helpful? Give feedback.
-
不是太明白,现在 fakedns 不就是一个单独的模块吗,路由该怎么走和以前都是一样的 |
Beta Was this translation helpful? Give feedback.
-
核心是你说的 2,如何实现 FakeDNS 分流(黑白名单)的问题,一开始我也觉得放在路由里面清楚。#406 (comment) 确实,现在 DNS 模块的 domains 不支持正则和其他配置,这个修好以后会好很多。 |
Beta Was this translation helpful? Give feedback.
-
请问一下这一条在文档的哪里,我找了好一会也没找到,如果真的是这样的话,那还挺重要的。 |
Beta Was this translation helpful? Give feedback.
-
Currently, there is only one set of DNS rules that applies everywhere in the V2Ray instance, and this is not enough, since DNS is not only used in routing, but also in resolving destination address, and serve DNS request. The current difficulty in configuring DNS is because DNS for a different purpose needs to share a single rule. I would like to purpose a general solution, a new Setting object knows as Subsidiary DNS Object. You can specify a set of DNS servers configures(defined in the same format as DNS Object) that addressed by a name. In the freedom outbound, DNS outbound, routing, and sockopt of transport settings for every individual outbound, you can specify a Subsidiary DNS Object to be used, instead of the primary one or system resolver. This idea comes from Policy Routing. https://blog.scottlowe.org/2013/05/29/a-quick-introduction-to-linux-policy-routing/ https://osric.com/chris/accidental-developer/2019/03/linux-policy-based-routing/ . Request for comment while the work for this haven't begin yet. https://github.com/v2fly/v2ray-core/projects/1#card-60711425 |
Beta Was this translation helpful? Give feedback.
-
Fake DNS的功能非常好,虽然我没有使用透明代理,但这个功能对tun2socks加速明显。但是,当下Fake DNS的配置方式非常不合理,造成配置时非常地烧脑而且不直观。具体地有如下几个方面问题:
综上述,我个人建议对Fake DNS的配置项调整如下:
Beta Was this translation helpful? Give feedback.
All reactions