wlnirvana

Results 26 comments of wlnirvana

@EpLiar 确实,既然是**DOMAIN** list,逻辑上来说除非分开成多个域名,否则对全球CDN的情况单独处理有些怪怪的。 不过建立这个DLC的目的,应该也主要就是生成geosite数据吧?否则的话,分门别类地统计各个公司下属的域名,好像意义也不是太大。 如果确实是为了**GEO**site的话,那CDN的geo就值得考虑了。(未必在DLC里直接考虑,也许也可以在v2ray中的某一层进行配置。)

@Cwek 我的配置其实在透明代理上DNS的时候就会利用geosite数据进行分流,所以单独配置routing没办法解决其他机器发来的DNS请求。 而且不太确定V2Ray (4.23.4) 对重复domain的多条规则是怎么处理的,比如下面的客户端配置当中,`geosite:gelocation-!cn`、`geosite:google-cn`和`fonts.googleapis.com`都覆盖了`fonts.googleapis.com`,但总是会按照`geosite:gelocation-!cn`匹配,用`1.1.1.1`来DNS。 ``` "dns": { "servers": [ { "address": "https+local://dns.alidns.com/dns-query", "domains": [ "geosite:cn", "geosite:apple-cn", "geosite:google-cn", "fonts.googleapis.com" ] }, { "address": "https://1.1.1.1/dns-query", "domains": [ "geosite:geolocation-!cn", "geosite:speedtest" ] },...

@Loyalsoldier `geolocation-!cn`确实是你的项目里的,不过事实上在DLC中已经有了更宽泛的`googleapis.com`,会把你项目额外加入的`fonts.googleapis.com`子域名的“覆盖”掉(应该跟V2Ray本身的优先级实现有关),所以只要你的项目中继续使用DLC,哪怕把apple-cn和google-cn都单独列出、从tmp-proxy中移除掉,有可能依然无法正常工作。所以我才在这里和V2Ray core项目都开了issue。 我发出的已经是完整的DNS配置了,替换掉客户端的DNS之后,假如客户端配置好了iptables和tproxy透明代理,应该是可以复现问题的。

是的,仔细想了想,可能最靠谱的还是需要V2Ray对相互冲突规则的优先级提供更完善的支持。从domain着手好像有点尴尬🤦

Will verify DNS matching when the new version is released

Tested against [the current latest v2fly binary](https://github.com/v2fly/V2FlyBleedingEdgeBinary/releases/tag/unstable-feea69c4c95f41154032603e32ec87a5f49e9d34 ), but the DNS resolving is incredibly slow. DNS config on my tproxy raspi: ``` "dns": { "hosts": { "dns.google": "8.8.8.8", "doh.pub": "119.29.29.29"...

If I recall correctly, similar configs started to work after [v4.23.0](https://github.com/v2ray/v2ray-core/releases/tag/v4.23.0) merges the [DNS optimization PR](https://github.com/v2ray/v2ray-core/pull/2212), except for the fonts.googleapis.com issue originally reported in this issue. By the way, since...

> The doc is technically misleading I guess, but yeah I recommend using `https://` for the shortest config. > > The default port is 80 and the default transport is...

See codemirror/CodeMirror#3137

Apparently I was not clear enough. I meant to incorporate as much as information to a single zip file. Upon uploading, it will be automatically parsed for problem description, hidden...