Skip to content

Commit

Permalink
add domainStrategy docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed Nov 19, 2023
1 parent 40a8bcb commit 6318e9f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/en_US/v5/config/outbound.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 10 additions & 0 deletions docs/v5/config/outbound.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6318e9f

Please sign in to comment.