mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-14 12:48:28 +10:00
dns: make rule strategy legacy-only
This commit is contained in:
@@ -34,7 +34,11 @@ Tag of target server.
|
||||
|
||||
!!! question "Since sing-box 1.12.0"
|
||||
|
||||
Set domain strategy for this query.
|
||||
!!! warning
|
||||
|
||||
`strategy` is deprecated and only supported in `legacyDNSMode`.
|
||||
|
||||
Set domain strategy for this query in `legacyDNSMode`.
|
||||
|
||||
One of `prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`.
|
||||
|
||||
|
||||
@@ -34,7 +34,11 @@ icon: material/new-box
|
||||
|
||||
!!! question "自 sing-box 1.12.0 起"
|
||||
|
||||
为此查询设置域名策略。
|
||||
!!! warning
|
||||
|
||||
`strategy` 已废弃,且仅在 `legacyDNSMode` 中可用。
|
||||
|
||||
在 `legacyDNSMode` 中为此查询设置域名策略。
|
||||
|
||||
可选项:`prefer_ipv4` `prefer_ipv6` `ipv4_only` `ipv6_only`。
|
||||
|
||||
|
||||
@@ -14,6 +14,13 @@ check [Migration](../migration/#migrate-inline-acme-to-certificate-provider).
|
||||
|
||||
Old fields will be removed in sing-box 1.16.0.
|
||||
|
||||
#### `strategy` in DNS rule actions
|
||||
|
||||
`strategy` in DNS rule actions is deprecated
|
||||
and only supported in `legacyDNSMode`.
|
||||
|
||||
Old fields will be removed in sing-box 1.16.0.
|
||||
|
||||
## 1.12.0
|
||||
|
||||
#### Legacy DNS server formats
|
||||
|
||||
Reference in New Issue
Block a user