Support Rackspace Cloud DNS
This commit is based on the original pull request by tcocca
https://github.com/Neilpang/acme.sh/pull/1297
Addtional cleanup was provided by senseisimple in
https://github.com/Neilpang/acme.sh/pull/1999
This pull request has squashed the changes for review, fixed a minor
(but breaking) problem with the field ordering in the response, and
added documenation per the API guide.
Co-Author: Chris <chris@chrisnovoa.com>
Co-Author: Ian Wienand <ian@wienand.org>
The Cloud and Classic Manager work with different APIs, and so require
a separate module, which we introduce here.
The README has also been modified to state that the two are separate
and incompatible, and provides instructions on using either.
Some DNS servers for which dns_nsupdate.sh is applicable (such
as dyn.com's 'Standard DNS' TSIG update mechanism), require that
the zone be set during the nsupdate transaction. Therefore we
add a new environment variable NSUPDATE_ZONE which is used to
set the zone for the DNS TSIG transaction.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
Linode API has made breaking changes that are resolved by this
update. No user action is required.
Additionally, related README.md entry updated to include new cloud
manager interface.
Currently only supports primary domains. My use case does not involve
secondary domains so I'm not sure how it behaves, and cannot test it.
Might be as simple as turning all "primary"-references into a variable
that's either "primary" or "secondary", and make an extra check for this
in _get_domain...
Cookie handling heavily inspired by freedns plugin, including caching
the cookie in the config file, so we can rm without re-authenticating