Просмотр исходного кода

documentation: Fix dial.zh.md

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]>
Monica 1 год назад
Родитель
Сommit
3dbdda9555
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      docs/configuration/shared/dial.zh.md

+ 4 - 1
docs/configuration/shared/dial.zh.md

@@ -83,7 +83,10 @@
 
 如果设置,域名将在请求发出之前解析为 IP。
 
-默认使用 `dns.strategy`。
+| 出站     | 受影响的域名             | 默认回退值                                |
+|----------|--------------------------|-------------------------------------------|
+| `direct` | 请求中的域名              | `inbound.domain_strategy`                 | 
+|  others  | 服务器地址中的域名        | /                                         |
 
 #### fallback_delay