add _get_zone_id to dns_1984hosting_rm to get the zone id

This commit is contained in:
Christophe B Billheimer 2021-09-12 12:48:27 -04:00
parent c668c603cc
commit c5c2014081
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ dns_1984hosting_rm() {
_debug "Delete $fulldomain TXT record"
_htmlget "$url/$zone_id" "$_sub_domain"
_get_zone_id
_htmlget "$url/$_zone_id" "$_sub_domain"
_debug2 _response "$_response"
entry_id="$(echo "$_response" | _egrep_o 'entry_[0-9]+' | sed 's/entry_//')"
_debug2 entry_id "$entry_id"