2019-03-08 20:47:06 +02:00
|
|
|
---
|
|
|
|
title: "Alibaba Cloud DNS"
|
|
|
|
date: 2019-03-03T16:39:46+01:00
|
|
|
|
draft: false
|
|
|
|
slug: alidns
|
2022-06-17 00:25:42 +02:00
|
|
|
dnsprovider:
|
|
|
|
since: "v1.1.0"
|
|
|
|
code: "alidns"
|
|
|
|
url: "https://www.alibabacloud.com/product/dns"
|
2019-03-08 20:47:06 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/alidns/alidns.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
|
|
|
|
|
|
|
|
Configuration for [Alibaba Cloud DNS](https://www.alibabacloud.com/product/dns).
|
|
|
|
|
|
|
|
|
|
|
|
<!--more-->
|
|
|
|
|
|
|
|
- Code: `alidns`
|
2022-06-17 00:25:42 +02:00
|
|
|
- Since: v1.1.0
|
|
|
|
|
2019-03-08 20:47:06 +02:00
|
|
|
|
2020-11-27 21:40:44 +02:00
|
|
|
Here is an example bash command using the Alibaba Cloud DNS provider:
|
|
|
|
|
|
|
|
```bash
|
2021-08-25 12:49:56 +02:00
|
|
|
# Setup using instance RAM role
|
|
|
|
ALICLOUD_RAM_ROLE=lego \
|
2022-06-17 00:25:42 +02:00
|
|
|
lego --email you@example.com --dns alidns --domains my.example.org run
|
2021-08-25 12:49:56 +02:00
|
|
|
|
|
|
|
# Or, using credentials
|
2020-11-27 21:40:44 +02:00
|
|
|
ALICLOUD_ACCESS_KEY=abcdefghijklmnopqrstuvwx \
|
2021-08-25 12:49:56 +02:00
|
|
|
ALICLOUD_SECRET_KEY=your-secret-key \
|
|
|
|
ALICLOUD_SECURITY_TOKEN=your-sts-token \
|
2022-06-17 00:25:42 +02:00
|
|
|
lego --email you@example.com --dns alidns --domains my.example.org run
|
2020-11-27 21:40:44 +02:00
|
|
|
```
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Credentials
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|-----------------------|-------------|
|
|
|
|
| `ALICLOUD_ACCESS_KEY` | Access key ID |
|
2021-08-25 12:49:56 +02:00
|
|
|
| `ALICLOUD_RAM_ROLE` | Your instance RAM role (https://www.alibabacloud.com/help/doc-detail/54579.htm) |
|
2019-03-08 20:47:06 +02:00
|
|
|
| `ALICLOUD_SECRET_KEY` | Access Key secret |
|
2021-08-07 12:07:31 +02:00
|
|
|
| `ALICLOUD_SECURITY_TOKEN` | STS Security Token (optional) |
|
2019-03-08 20:47:06 +02:00
|
|
|
|
2019-03-18 18:42:54 +02:00
|
|
|
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
2024-08-14 23:55:11 +02:00
|
|
|
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
2019-03-18 18:42:54 +02:00
|
|
|
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
## Additional Configuration
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|--------------------------------|-------------|
|
|
|
|
| `ALICLOUD_HTTP_TIMEOUT` | API request timeout |
|
|
|
|
| `ALICLOUD_POLLING_INTERVAL` | Time between DNS propagation check |
|
|
|
|
| `ALICLOUD_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
|
|
|
|
| `ALICLOUD_TTL` | The TTL of the TXT record used for the DNS challenge |
|
|
|
|
|
2019-03-18 18:42:54 +02:00
|
|
|
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
2024-08-14 23:55:11 +02:00
|
|
|
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
2019-03-18 18:42:54 +02:00
|
|
|
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## More information
|
|
|
|
|
2024-03-24 23:39:59 +02:00
|
|
|
- [API documentation](https://www.alibabacloud.com/help/en/alibaba-cloud-dns/latest/api-alidns-2015-01-09-dir-parsing-records)
|
2019-03-08 20:47:06 +02:00
|
|
|
- [Go client](https://github.com/aliyun/alibaba-cloud-sdk-go)
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/alidns/alidns.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|