docs/content/dns/zz_gen_dns51.md
Configuration for 51DNS.
<!--more-->dns51Here is an example bash command using the 51DNS provider:
DNS51_API_KEY="xxx" \
DNS51_API_SECRET="yyy" \
lego run --dns dns51 -d '*.example.com' -d example.com
| Environment Variable Name | Description |
|---|---|
DNS51_API_KEY | API key |
DNS51_API_SECRET | API secret |
The environment variable names can be suffixed by _FILE to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
| Environment Variable Name | Description |
|---|---|
DNS51_HTTP_TIMEOUT | API request timeout in seconds (Default: 30) |
DNS51_POLLING_INTERVAL | Time between DNS propagation check in seconds (Default: 2) |
DNS51_PROPAGATION_TIMEOUT | Maximum waiting time for DNS propagation in seconds (Default: 60) |
DNS51_TTL | The TTL of the TXT record used for the DNS challenge in seconds (Default: 120) |
The environment variable names can be suffixed by _FILE to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).