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