From 92d421decfa0af79d951c22cc2f88b3c3ad7426a Mon Sep 17 00:00:00 2001 From: Maddes Date: Wed, 28 Aug 2024 22:26:24 +0200 Subject: [PATCH] Tip how to force dns script to be executed after a domain was previously validated --- DNS-API-Dev-Guide.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DNS-API-Dev-Guide.md b/DNS-API-Dev-Guide.md index 35da95f..eeba0b2 100644 --- a/DNS-API-Dev-Guide.md +++ b/DNS-API-Dev-Guide.md @@ -6,6 +6,10 @@ This guide is to help any developer interested to build a brand new DNS API for 1. It's normal to run into errors, so do use `--debug 2` when testing. For e.g., `acme.sh --issue --debug 2 -d example.com --dns dns_myapi` 2. It's normal to burst rate limits for Let's Encrypt, so do use `--staging` when testing. For e.g., `acme.sh --issue --staging --debug 2 -d example.com --dns dns_myapi` Read [issue 1787](https://github.com/acmesh-official/acme.sh/issues/1787) for details. Remember to remove `--staging` after testing. +3. It's normal that the dns script is not run if the domain was validated before. Forcing execution of the DNS API script can be achieved by clearing the "valid" status of a domain at Let’s Encrypt via the `--deactivate` command. Wildcard domains have their own status, so these have to be deactivated separately. + ``` + acme.sh --deactivate [--server letsencrypt_test] -d 'test.example.com' -d '*.test.example.com' + ``` Let's assume your API name is `myapi`, and you will use your API like: