Browse Source
Merge pull request #2945 from ianw/rax-lookup
dns_rackspace: search for domain
pull/2950/head
neil
5 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_rackspace.sh
|
@ -73,7 +73,7 @@ _get_root_zone() { |
|
|
#not valid |
|
|
#not valid |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
if ! _rackspace_rest GET "$RACKSPACE_Tenant/domains"; then |
|
|
|
|
|
|
|
|
if ! _rackspace_rest GET "$RACKSPACE_Tenant/domains/search?name=$h"; then |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
_debug2 response "$response" |
|
|
_debug2 response "$response" |
|
|