Skip to content

Commit

Permalink
docs: dial.zh.md: Correct default domain_strategy value for `direct…
Browse files Browse the repository at this point in the history
…` outbound module in Chinese documentation

The Chinese documentation incorrectly stated that the default value for the domain_strategy field in the direct outbound module is dns.strategy. The correct value should be inbound.domain_strategy, as specified in the English documentation. This commit corrects the Chinese documentation to align with the accurate behavior described in the English version.

Signed-off-by: Monica <[email protected]>
  • Loading branch information
HyperLYP authored and nekohasekai committed Sep 15, 2024
1 parent 7a48767 commit b8679de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/configuration/shared/dial.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@

如果设置,域名将在请求发出之前解析为 IP。

默认使用 `dns.strategy`
| 出站 | 受影响的域名 | 默认回退值 |
|----------|--------------------------|-------------------------------------------|
| `direct` | 请求中的域名 | `inbound.domain_strategy` |
| others | 服务器地址中的域名 | / |

#### fallback_delay

Expand Down

0 comments on commit b8679de

Please sign in to comment.