Peter Lindegaard Hansen
7 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_curanet.sh
|
|
@ -154,7 +154,7 @@ _get_root() { |
|
|
export _H3="Authorization: Bearer $CURANET_ACCESS_TOKEN" |
|
|
export _H3="Authorization: Bearer $CURANET_ACCESS_TOKEN" |
|
|
response="$(_get "$CURANET_REST_URL/$h/Records" "" "")" |
|
|
response="$(_get "$CURANET_REST_URL/$h/Records" "" "")" |
|
|
|
|
|
|
|
|
if [ ! "$(echo "$response" | _egrep_o "Entity not found")" ]; then |
|
|
|
|
|
|
|
|
if [ ! "$(echo "$response" | _egrep_o "Entity not found|Bad Request")" ]; then |
|
|
_domain=$h |
|
|
_domain=$h |
|
|
return 0 |
|
|
return 0 |
|
|
fi |
|
|
fi |
|
|
|