From 54343179e4bf76539668cd7cbaa61bd3df4ad0e9 Mon Sep 17 00:00:00 2001 From: neil <8305679+Neilpang@users.noreply.github.com> Date: Sat, 7 Mar 2020 19:58:40 +0800 Subject: [PATCH] Updated dnsapi (markdown) --- dnsapi.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dnsapi.md b/dnsapi.md index 76cf925..5b74d55 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -209,7 +209,7 @@ https://github.com/Neilpang/acme.sh/wiki/How-to-use-Amazon-Route53-API ``` export AWS_ACCESS_KEY_ID=XXXXXXXXXX export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXX -export AWS_DNS_SLOWRATE=1 (sleep between API requests in seconds) + ``` To issue a cert: @@ -217,6 +217,12 @@ To issue a cert: acme.sh --issue --dns dns_aws -d example.com -d www.example.com ``` +If you get an `AWS Route53 rate exceeded` error, you can add a sleep time between api requests: + +``` +export AWS_DNS_SLOWRATE=1 (sleep between API requests in seconds) +``` + The `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_DNS_SLOWRATE` will be saved in `~/.acme.sh/account.conf` and will be reused when needed. The `AWS_DNS_SLOWRATE` will enable the sleep between API requests to AWS servers. It will help to mitigate the AWS rate limit ## 11. Use Aliyun domain API to automatically issue cert