# # we could modify a record, if the names for txt records for *.example.com and example.com would be not the same
return0
# we could modify a record, if the names for txt records for *.example.com and example.com would be not the same
#if _hetzner_rest PUT "records/${_record_id}" "{\"zone_id\":\"${HETZNER_Zone_ID}\",\"type\":\"TXT\",\"name\":\"$full_domain\",\"value\":\"$txt_value\",\"ttl\":120}"; then
#if _hetzner_rest PUT "records/${_record_id}" "{\"zone_id\":\"${HETZNER_Zone_ID}\",\"type\":\"TXT\",\"name\":\"$full_domain\",\"value\":\"$txt_value\",\"ttl\":120}"; then
# if _contains "$response" "$txt_value"; then
# if _contains "$response" "$txt_value"; then
# _info "Modified, OK"
# _info "Modified, OK"
@ -107,12 +107,12 @@ dns_hetzner_rm() {
#returns
#returns
# _record_id=a8d58f22d6931bf830eaa0ec6464bf81 if found; or 1 if error
# _record_id=a8d58f22d6931bf830eaa0ec6464bf81 if found; or 1 if error