]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Update dns_kappernet.sh
authorHarald Kapper <4014716+hknet@users.noreply.github.com>
Thu, 27 Jul 2023 19:49:23 +0000 (21:49 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 19:49:23 +0000 (21:49 +0200)
dns update waiting time is reduced now (new backend at kapper.net)

dnsapi/dns_kappernet.sh

index 83a7e5f8e508d1b41657413fe99e7b5eade63d4c..0a8951cb5d79151c6862764e3e1be39a2c920bf6 100644 (file)
@@ -45,8 +45,8 @@ dns_kappernet_add() {
   if _kappernet_api GET "action=new&subject=$_domain&data=$data"; then
 
     if _contains "$response" "{\"OK\":true"; then
-      _info "Waiting 120 seconds for DNS to spread the new record"
-      _sleep 120
+      _info "Waiting 1 second for DNS to spread the new record"
+      _sleep 1
       return 0
     else
       _err "Error creating a TXT DNS Record: $fullhostname TXT $txtvalue"