Added dynadot dns

master
HRHDaniel 2023-02-27 10:36:36 -06:00
parent 1da428a9bf
commit 1eaa65182e
1 changed files with 27 additions and 0 deletions

@ -1600,6 +1600,33 @@ To issue a wildcard certificate, run command:
./acme.sh --issue --dns dns_gcore -d example.com -d \*.example.com
```
## 154. Use dynadot DNS API
PENDING Pull Request: https://github.com/acmesh-official/acme.sh/pull/4510
**Please read the comments in `dnsapi/dns_dynadot.sh` to understand the issues and limitations with dynadot's api before reporting any bugs and for more information on the options below**
Login to to your dynadot account and create an api token
```sh
DYNADOTAPI_Token="your_api_token"
```
Optional settings:
```sh
DYNADOT_ADD_DNS_SLEEP=1800
DYNADOT_REMOVE_DNS_SLEEP=1800
DYNADOTAPI_SKIP_REMOVE=SKIP
DYNADOTAPI_API_RETRIES=5
DYNADOTAPI_RETRY_SLEEP=30
```
* The `--dnssleep` command line argument specifies the amount of sleep before requesting validation of records. When adding two text records, that sleep only occurs after both records have been added. The sleep settings above affect each dynadot operation.
* `DYNADOT_ADD_DNS_SLEEP` is the number of seconds to sleep after adding a TXT record (for wildcard domains this will happen twice before validation). Recommended to set this at 1800 or higher if adding multiple records is required for your request or when making back to back requests.
* `DYNADOTAPI_SKIP_REMOVE=SKIP` will skip removing TXT records. This is useful to save wait time when making multiple calls, however, TXT records will need to be manually removed after the process completes.
* `DYNADOT_REMOVE_DNS_SLEEP` is the number of seconds to sleep after removing a TXT record. Recommended to set this at 1800 or higher if adding multiple records is required for your request or when making back to back requests. This is not required when using `DYNADOTAPI_SKIP_REMOVE=SKIP`
* `DYNADOTAPI_API_RETRIES` number of times to attempt a DYNADOT api call.
* `DYNADOTAPI_RETRY_SLEEP` sleep time between DYNADOT api calls (only applied if a call fails and DYNADOTAPI_API_RETRIES is set great than 1)
# ##################
# Use custom API