]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Update dns_ddnss.sh
authorneilpang <github@neilpang.com>
Wed, 19 Jan 2022 14:22:53 +0000 (22:22 +0800)
committerneilpang <github@neilpang.com>
Wed, 19 Jan 2022 14:22:53 +0000 (22:22 +0800)
dnsapi/dns_ddnss.sh

index ecc4f174a4119999718f665e1b32c916f4f0e34d..b9da33ff6f5030a3d8afea022ec7a876036e1774 100644 (file)
@@ -12,7 +12,7 @@
 # --
 #
 
-DDNSS_DNS_API="https://ip4.ddnss.de/upd.php"
+DDNSS_DNS_API="https://ddnss.de/upd.php"
 
 ########  Public functions #####################
 
@@ -77,7 +77,7 @@ dns_ddnss_rm() {
 
   # Now remove the TXT record from DDNS DNS
   _info "Trying to remove TXT record"
-  if _ddnss_rest GET "key=$DDNSS_Token&host=$_ddnss_domain&txtm=1&txt=."; then
+  if _ddnss_rest GET "key=$DDNSS_Token&host=$_ddnss_domain&txtm=2"; then
     if [ "$response" = "Updated 1 hostname." ]; then
       _info "TXT record has been successfully removed from your DDNSS domain."
       return 0