2019-03-08 20:47:06 +02:00
|
|
|
---
|
|
|
|
title: "DNSPod"
|
|
|
|
date: 2019-03-03T16:39:46+01:00
|
|
|
|
draft: false
|
|
|
|
slug: dnspod
|
|
|
|
---
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/dnspod/dnspod.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
|
2019-04-17 21:32:38 +02:00
|
|
|
Since: v0.4.0
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
Configuration for [DNSPod](http://www.dnspod.com/).
|
|
|
|
|
|
|
|
|
|
|
|
<!--more-->
|
|
|
|
|
|
|
|
- Code: `dnspod`
|
|
|
|
|
2020-11-27 21:40:44 +02:00
|
|
|
Here is an example bash command using the DNSPod provider:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
DNSPOD_API_KEY=xxxxxx \
|
|
|
|
lego --email myemail@example.com --dns dnspod --domains my.example.org run
|
|
|
|
```
|
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.
|
|
|
|
More information [here](/lego/dns/#configuration-and-credentials).
|
|
|
|
|
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.
|
|
|
|
More information [here](/lego/dns/#configuration-and-credentials).
|
|
|
|
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## More information
|
|
|
|
|
|
|
|
- [API documentation](https://www.dnspod.com/docs/index.html)
|
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. -->
|