Files
sing-box-extended-mirror/docs/configuration/shared/dns01_challenge.zh.md
T

57 lines
812 B
Markdown
Raw Normal View History

2025-12-21 23:11:00 +08:00
---
icon: material/new-box
---
!!! quote "sing-box 1.13.0 中的更改"
2025-12-26 16:20:27 +08:00
:material-plus: [alidns.security_token](#security_token)
2025-12-21 23:11:00 +08:00
:material-plus: [cloudflare.zone_token](#zone_token)
2023-09-16 21:37:22 +08:00
### 结构
```json
{
"provider": "",
2025-12-21 23:11:00 +08:00
2023-09-16 21:37:22 +08:00
... // 提供商字段
}
```
### 提供商字段
#### Alibaba Cloud DNS
```json
{
"provider": "alidns",
"access_key_id": "",
"access_key_secret": "",
2025-12-21 23:11:00 +08:00
"region_id": "",
"security_token": ""
2023-09-16 21:37:22 +08:00
}
```
2025-12-21 23:11:00 +08:00
##### security_token
!!! question "自 sing-box 1.13.0 起"
用于 STS 临时凭证的安全令牌。
2023-09-16 21:37:22 +08:00
#### Cloudflare
```json
{
"provider": "cloudflare",
2025-12-21 23:11:00 +08:00
"api_token": "",
"zone_token": ""
2023-09-16 21:37:22 +08:00
}
2025-12-21 23:11:00 +08:00
```
##### zone_token
!!! question "自 sing-box 1.13.0 起"
具有 `Zone:Read` 权限的可选 API 令牌。
提供后可将 `api_token` 限定到单个区域。