2019-03-08 20:47:06 +02:00
|
|
|
---
|
2022-09-17 11:04:54 +02:00
|
|
|
title: "DNSPod (deprecated)"
|
2019-03-08 20:47:06 +02:00
|
|
|
date: 2019-03-03T16:39:46+01:00
|
|
|
|
draft: false
|
|
|
|
slug: dnspod
|
2022-06-17 00:25:42 +02:00
|
|
|
dnsprovider:
|
|
|
|
since: "v0.4.0"
|
|
|
|
code: "dnspod"
|
|
|
|
url: "https://www.dnspod.com/"
|
2019-03-08 20:47:06 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/dnspod/dnspod.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
|
2022-09-17 11:04:54 +02:00
|
|
|
Use the Tencent Cloud provider instead.
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--more-->
|
|
|
|
|
|
|
|
- Code: `dnspod`
|
2022-06-17 00:25:42 +02:00
|
|
|
- Since: v0.4.0
|
|
|
|
|
2019-03-08 20:47:06 +02:00
|
|
|
|
2022-09-17 11:04:54 +02:00
|
|
|
Here is an example bash command using the DNSPod (deprecated) provider:
|
2020-11-27 21:40:44 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
DNSPOD_API_KEY=xxxxxx \
|
2024-11-08 00:55:04 +02:00
|
|
|
lego --email you@example.com --dns dnspod -d '*.example.com' -d example.com run
|
2020-11-27 21:40:44 +02:00
|
|
|
```
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Credentials
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|-----------------------|-------------|
|
|
|
|
| `DNSPOD_API_KEY` | The user token |
|
|
|
|
|
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 |
|
|
|
|
|--------------------------------|-------------|
|
|
|
|
| `DNSPOD_HTTP_TIMEOUT` | API request timeout |
|
|
|
|
| `DNSPOD_POLLING_INTERVAL` | Time between DNS propagation check |
|
|
|
|
| `DNSPOD_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
|
|
|
|
| `DNSPOD_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
|
|
|
|
|
2021-03-10 11:42:00 +02:00
|
|
|
- [API documentation](https://docs.dnspod.com/api/)
|
2020-01-08 21:53:45 +02:00
|
|
|
- [Go client](https://github.com/nrdcg/dnspod-go)
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/dnspod/dnspod.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|