Skip to content

英文文档对"IPOnDemand"的解释有误. #317

Open
@RealXuChe

Description

@RealXuChe

中文文档是"当匹配时碰到任何基于 IP 的规则,将域名立即解析为 IP 进行匹配",而英文文档是"As long as there is a IP-based rule, V2Ray resolves the domain into IP immediately.", 即:"只要路由规则里面存在IP路由匹配,所有请求的域名都先进行DNS解析"
如图为两种表达代表的规则匹配顺序:
图片

具体来说,v2ray的工作方式是:遍历每一条规则进行匹配,如果在匹配时发现有基于ip的规则,才对待匹配的域名进行解析.
而英文文档表示的意思是:先扫描路由数组有没有IP规则,有则解析后再匹配,没有则直接匹配

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions