Feat: support Aliyun (#252)

Co-authored-by: Jack Wang <jack.wang@hp.com>

Fixes #234 and #198 
Closes #209
This commit is contained in:
王文慧
2021-10-14 22:02:08 +08:00
committed by GitHub
parent ea215dec6b
commit 7acc9b931a
8 changed files with 208 additions and 2 deletions

35
docs/aliyun.md Normal file
View File

@@ -0,0 +1,35 @@
# Aliyun
## Configuration
### Example
```json
{
"settings": [
{
"provider": "aliyun",
"domain": "domain.com",
"host": "@",
"access_key_id": "your access_key_id",
"access_secret": "your access_secret",
"region": "your region",
"ip_version": "ipv4"
}
]
}
```
### Compulsory parameters
- `"domain"`
- `"host"` is your host and can be a subdomain or `"@"`
- `"access_key_id"`
- `"access_secret"`
### Optional parameters
- `"ip_version"` can be `ipv4` (A records) or `ipv6` (AAAA records), defaults to `ipv4 or ipv6`
- `"region"` is your region, which defaults to `cn-hangzhou` if not set.
## Domain setup