From 6318e9f762f6a1965227381526f66dca73a8e740 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Sun, 19 Nov 2023 12:49:01 +0000 Subject: [PATCH] add domainStrategy docs --- docs/en_US/v5/config/outbound.md | 9 +++++++++ docs/v5/config/outbound.md | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/docs/en_US/v5/config/outbound.md b/docs/en_US/v5/config/outbound.md index cc067e536..9998b5fe8 100644 --- a/docs/en_US/v5/config/outbound.md +++ b/docs/en_US/v5/config/outbound.md @@ -43,6 +43,15 @@ Forward Proxy(Proxy Chaining) settings. Connection multiplexor settings. +> `domainStrategy`: [ "AsIs" | "UseIP" | "UseIP4" | "UseIP6" | "" ] + +Control whether how domain names in outgoing connection are processed. (v5.12.0+) + +- "AsIs" : Let operating system resolve it. +- "UseIP" : Resolve it with built-in dns, and use any IP address. +- "UseIP4" : Resolve it with built-in dns, and use any IPv4 address. +- "UseIP6" : Resolve it with built-in dns, and use any IPv6 address. + ## Supported Proxy Protocol * [SOCKS](proxy/socks.md) diff --git a/docs/v5/config/outbound.md b/docs/v5/config/outbound.md index 00f7092fb..3ce92311a 100644 --- a/docs/v5/config/outbound.md +++ b/docs/v5/config/outbound.md @@ -46,6 +46,16 @@ outbound Mux 配置。 + +> `domainStrategy`: [ "AsIs" | "UseIP" | "UseIP4" | "UseIP6" | "" ] + +控制如何如何处理传出连接中的域名. (v5.12.0+) + +- "AsIs" : 让操作系统来解析。 +- "UseIP" : 使用内置 dns 解析它,并使用结果中的任意 IP 地址。 +- "UseIP4" : 使用内置 dns 解析它,并使用结果中的任意 IPv4 地址。 +- "UseIP6" : 使用内置 dns 解析它,并使用结果中的任意 IPv6 地址。 + ## 支持的代理协议 * [SOCKS](proxy/socks.md)