You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RackSpace DNS API only returns 100 domains at a time when you use the "list domains" endpoint. This can cause the _get_root_zone() function to falsely return the "invalid domain" error.
#2944
The RackSpace DNS API only returns 100 domains at a time when you use the "list domains" endpoint. This can cause the _get_root_zone() function to falsely return the "invalid domain" error.
If you change line 97 as follows it works nicely for accounts with hundreds of domains: if ! _rackspace_rest GET "$RACKSPACE_Tenant/domains/search?name=$h"; then
The current call uses the /domains end-point which lists all domains.
This only returns 100 domains at a time, so for long domain lists you
may not match and find the required ID.
Switch to using the search interface that only returns values matching
the requested domain. This will avoid missing results.
Closes: acmesh-official#2944
The current call uses the /domains end-point which lists all domains.
This only returns 100 domains at a time, so for long domain lists you
may not match and find the required ID.
Switch to using the search interface that only returns values matching
the requested domain. This will avoid missing results.
Reported by @jjamfd.
Closes: acmesh-official#2944
The RackSpace DNS API only returns 100 domains at a time when you use the "list domains" endpoint. This can cause the _get_root_zone() function to falsely return the "invalid domain" error.
I recommend using the "domain search" endpoint instead: https://developer.rackspace.com/docs/cloud-dns/v1/api-reference/domains/#search-domains
If you change line 97 as follows it works nicely for accounts with hundreds of domains:
if ! _rackspace_rest GET "$RACKSPACE_Tenant/domains/search?name=$h"; then
Originally posted by @jjamfd in #2091 (comment)
The text was updated successfully, but these errors were encountered: