|
|
|
@ -68,7 +68,7 @@ dns_online_rm() { |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
|
|
|
|
rid=$(echo $response | _egrep_o "\"id\":[0-9]+,\"name\":\"$_sub_domain\",\"data\":\"\\\u0022$txtvalue\\\u0022\"" | cut -d ':' -f 2 | cut -d ',' -f 1) |
|
|
|
rid=$(echo "$response" | _egrep_o "\"id\":[0-9]+,\"name\":\"$_sub_domain\",\"data\":\"\\\u0022$txtvalue\\\u0022\"" | cut -d ':' -f 2 | cut -d ',' -f 1) |
|
|
|
_debug rid "$rid" |
|
|
|
if [ -z "$rid" ]; then |
|
|
|
return 1 |
|
|
|
@ -135,7 +135,6 @@ _get_root() { |
|
|
|
return 1 |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# this function create a temporary zone version |
|
|
|
# as online.net does not allow updating an active version |
|
|
|
_online_create_temporary_zone_version() { |
|
|
|
|