der-berni
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_one.sh
|
@ -123,7 +123,7 @@ _get_root() { |
|
|
|
|
|
|
|
|
response="$(_get "https://www.one.com/admin/api/domains/$h/dns/custom_records")" |
|
|
response="$(_get "https://www.one.com/admin/api/domains/$h/dns/custom_records")" |
|
|
|
|
|
|
|
|
if ! _contains "$response" "CRMRST_000302" ; then |
|
|
|
|
|
|
|
|
if ! _contains "$response" "CRMRST_000302"; then |
|
|
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) |
|
|
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) |
|
|
_domain="$h" |
|
|
_domain="$h" |
|
|
return 0 |
|
|
return 0 |
|
|