Browse Source

add more sleep for ovh

neilpang 7 years ago
parent
commit
01cc2e13d8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      dnsapi/dns_ovh.sh

+ 2 - 1
dnsapi/dns_ovh.sh

@@ -149,7 +149,8 @@ dns_ovh_add() {
     if _contains "$response" "$txtvalue"; then
     if _contains "$response" "$txtvalue"; then
       _ovh_rest POST "domain/zone/$_domain/refresh"
       _ovh_rest POST "domain/zone/$_domain/refresh"
       _debug "Refresh:$response"
       _debug "Refresh:$response"
-      _info "Added"
+      _info "Added, sleep 10 seconds."
+      _sleep 10
       return 0
       return 0
     fi
     fi
   fi
   fi