mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
docs: describe domain resolution behavior in routing more accurately
This commit is contained in:
parent
bc4545f2ef
commit
3858b8d654
@ -114,6 +114,10 @@
|
|||||||
(`source_port` || `source_port_range`) &&
|
(`source_port` || `source_port_range`) &&
|
||||||
`other fields`
|
`other fields`
|
||||||
|
|
||||||
|
!!! note ""
|
||||||
|
|
||||||
|
Domain name will not be resolved to IP when doing rule matching. If you need resolution, see `domain_strategy` in [Listen Fields](/configuration/shared/listen/#domain_strategy).
|
||||||
|
|
||||||
#### inbound
|
#### inbound
|
||||||
|
|
||||||
Tags of [Inbound](/configuration/inbound).
|
Tags of [Inbound](/configuration/inbound).
|
||||||
|
@ -112,6 +112,10 @@
|
|||||||
(`source_port` || `source_port_range`) &&
|
(`source_port` || `source_port_range`) &&
|
||||||
`other fields`
|
`other fields`
|
||||||
|
|
||||||
|
!!! note ""
|
||||||
|
|
||||||
|
进行规则匹配时不会将域名解析为 IP。如需解析,请参阅 [监听字段](/zh/configuration/shared/listen/#domain_strategy) 中的 `domain_strategy`。
|
||||||
|
|
||||||
#### inbound
|
#### inbound
|
||||||
|
|
||||||
[入站](/zh/configuration/inbound) 标签。
|
[入站](/zh/configuration/inbound) 标签。
|
||||||
|
@ -78,7 +78,7 @@ Timeout for sniffing.
|
|||||||
|
|
||||||
One of `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`.
|
One of `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`.
|
||||||
|
|
||||||
If set, the requested domain name will be resolved to IP before routing.
|
If set, the requested domain name will be resolved to IP before routing, both domain name and IP will be used in route matching.
|
||||||
|
|
||||||
If `sniff_override_destination` is in effect, its value will be taken as a fallback.
|
If `sniff_override_destination` is in effect, its value will be taken as a fallback.
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
可选值: `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`。
|
可选值: `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`。
|
||||||
|
|
||||||
如果设置,请求的域名将在路由之前解析为 IP。
|
如果设置,请求的域名将在路由之前解析为 IP,路由匹配时会同时匹配域名和 IP。
|
||||||
|
|
||||||
如果 `sniff_override_destination` 生效,它的值将作为后备。
|
如果 `sniff_override_destination` 生效,它的值将作为后备。
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user