Browse Source

Merge pull request #4063 from nicolaspn/OVH_DNS_refresh_after_delete_txt_record

Ovh dns refresh after delete txt record
pull/4065/head
neil 3 years ago
committed by GitHub
parent
commit
84c2b0c3d7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_ovh.sh

2
dnsapi/dns_ovh.sh

@ -198,6 +198,8 @@ dns_ovh_rm() {
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then
return 1 return 1
fi fi
_ovh_rest POST "domain/zone/$_domain/refresh"
_debug "Refresh:$response"
return 0 return 0
fi fi
done done

Loading…
Cancel
Save