diff --git a/dnsapi/dns_nm.sh b/dnsapi/dns_nm.sh index 21ec063b..8bf3248c 100644 --- a/dnsapi/dns_nm.sh +++ b/dnsapi/dns_nm.sh @@ -70,7 +70,6 @@ fulldomain="${1}" return 1 fi - zone="$(echo $fulldomain | _egrep_o "[^.]+.[^.]+$")" get="https://namemaster.de/api/api.php?User=$NM_user&Password=$NM_md5&Antwort=csv&Int=0&Typ=TXT&Zone=$zone&hostname=$fulldomain&TXT=$txt&Action=Delete_IN&TTL=0" erg="$(_get "$get")" @@ -80,7 +79,6 @@ fulldomain="${1}" fi - if _contains "$erg" "Success"; then _info "Success, TXT removed, OK" @@ -90,12 +88,6 @@ else fi - _debug "ok Auto $zone TXT: $txt erg: $erg" return 0 - - - - # nothing to do - _debug "delete $1 $2 happens automatically through next time of issuing $1" }