diff options
author | Glen Huang <i@glenhuang.com> | 2022-10-24 10:35:47 +0800 |
---|---|---|
committer | Glen Huang <i@glenhuang.com> | 2022-10-24 10:48:34 +0800 |
commit | 4e369cf78065b04b81fe6579a8137bd38041b075 (patch) | |
tree | 18ba50ed21589b1d7db211b30ba3db8222b9ed16 /net/acme-common | |
parent | 9d2d8787cafdfb49339766a00ced422fa75cb883 (diff) |
acme: add dns_wait option
acme.sh by default use public DNS resolvers to check if TXT record was
correctly added when using DNS-01. This can be undesirable in a private
environment where the DNS server is not publicly accessible.
This option allows bypassing such check and simply waiting for a
specific length of time for the TXT record to take effect.
Signed-off-by: Glen Huang <i@glenhuang.com>
Diffstat (limited to 'net/acme-common')
-rw-r--r-- | net/acme-common/files/acme.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/acme-common/files/acme.sh b/net/acme-common/files/acme.sh index 24601a502..bcf3d8451 100644 --- a/net/acme-common/files/acme.sh +++ b/net/acme-common/files/acme.sh @@ -59,6 +59,8 @@ load_options() { export days config_get standalone "$section" standalone 0 export standalone + config_get dns_wait "$section" dns_wait + export dns_wait config_get webroot "$section" webroot export webroot |