luci-app-acme: Add dns_wait option
authorSergey Ponomarev <[email protected]>
Sat, 1 Jun 2024 11:44:48 +0000 (14:44 +0300)
committerToke Høiland-Jørgensen <[email protected]>
Tue, 7 Oct 2025 12:01:06 +0000 (14:01 +0200)
Signed-off-by: Sergey Ponomarev <[email protected]>
applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js

index 30547615463700db37891b74c666a8897dab4237..b6f9ec4ff2100373a6638b4cafacff98cb49965b 100644 (file)
@@ -165,6 +165,13 @@ return view.extend({
                o.depends("validation_method", "dns");
                o.modalonly = true;
 
+               o = s.taboption('challenge_dns', form.Value, 'dns_wait', _('Wait for DNS update'),
+                       _('Seconds to wait for a DNS record to be updated before continue.') + '<br />' +
+                       '<a href="https://github.com/acmesh-official/acme.sh/wiki/dnssleep" target="_blank">' + _('See more') + '</a>'
+               );
+               o.depends('validation_method', 'dns');
+               o.modalonly = true;
+
 
                o = s.taboption('advanced', form.Flag, 'staging', _('Use staging server'),
                        _(