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

74 lines
1.1 KiB
Markdown
Raw Normal View History

2025-12-21 23:11:00 +08:00
---
icon: material/new-box
---
!!! quote "Changes in sing-box 1.13.0"
2025-12-26 16:20:27 +08:00
:material-plus: [alidns.security_token](#security_token)
2026-01-17 06:52:43 -06:00
:material-plus: [cloudflare.zone_token](#zone_token)
:material-plus: [acmedns](#acmedns)
2025-12-21 23:11:00 +08:00
2023-09-16 21:37:22 +08:00
### Structure
```json
{
"provider": "",
2025-12-21 23:11:00 +08:00
2023-09-16 21:37:22 +08:00
... // Provider Fields
}
```
### Provider Fields
#### 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 "Since sing-box 1.13.0"
The Security Token for STS temporary credentials.
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 "Since sing-box 1.13.0"
Optional API token with `Zone:Read` permission.
When provided, allows `api_token` to be scoped to a single zone.
2026-01-17 06:52:43 -06:00
#### ACME-DNS
!!! question "Since sing-box 1.13.0"
```json
{
"provider": "acmedns",
"username": "",
"password": "",
"subdomain": "",
"server_url": ""
}
```
See [ACME-DNS](https://github.com/joohoi/acme-dns) for details.