Commit Graph

227 Commits

Author SHA1 Message Date
boyanpeychev
c7257e0a3c Add DNS API for ClouDNS 2017-03-14 14:20:58 +02:00
boyanpeychev
3b7fbcd0c3 Add DNS API support for ClouDNS 2017-03-14 13:24:09 +02:00
neilpang
04683338a2 fix cloudxns api https://github.com/Neilpang/acme.sh/issues/717 2017-03-11 10:06:40 +08:00
thewer
ac690fceaf Added DigitalOcean (native) API that requires only a read/write API key for DigitalOcean, updated 2 reads files. 2017-03-09 22:28:30 +10:00
csmk
f589a1d245
Fix format: use double quote to prevent globbing and word splitting 2017-03-07 22:21:22 +09:00
csmk
9c87a5890d
Add support for Knot DNS API
The script is actually an adapted version of the `dns_nsupdate.sh` script,
as the `knsupdate` utility is quite similar to `nsupdate`.
2017-03-05 22:18:31 +09:00
nytral
8d53ec5353 fixed validation, added LUA while I'm at it 2017-03-01 19:38:02 +01:00
nytral
a1e1bfc71b removed useless code 2017-03-01 19:20:16 +01:00
nytral
29992f54a3 delete support for dns_me 2017-03-01 18:28:39 +01:00
nytral
4ab6786163 Merge remote-tracking branch 'upstream/master' 2017-03-01 18:03:39 +01:00
neilpang
839f18d052 fix format 2017-03-01 19:17:20 +08:00
neilpang
177b57e1c0 fix wget content on 404 error 2017-02-28 21:35:20 +08:00
neilpang
d24a87caf1 minor 2017-02-28 20:56:11 +08:00
neilpang
9683ffe13a minor fix error message 2017-02-28 20:39:23 +08:00
Frederic Crozat
fab2d9dc6a add API for Gandi LiveDNS (#680)
* add API for Gandi LiveDNS

* ensure Gandi API key is saved for renewing certificate.

* gandi_livedns: use PUT instead of POST for creating DNS record

* gandi_livedns: fix formatting

* dns_gandi_livedns: fix shellcheck errors
2017-02-28 19:58:04 +08:00
Stefan Seidel
abf4278d09 resolve conflicts 2017-02-23 21:02:21 +00:00
seidler2547
2b2b65fe18 Declare and assign separately to avoid masking return values 2017-02-23 21:00:40 +00:00
Stefan Seidel
3d6a125bdc add documentation 2017-02-23 21:00:40 +00:00
seidler2547
9efd40a366 use export for headers 2017-02-23 20:59:12 +00:00
seidler2547
383fa8401d Remove stray characater
fixes issue where the first listed domain would not work
2017-02-23 20:59:12 +00:00
seidler2547
bf8ffade29 replace head -1, add link to GitHub 2017-02-23 20:59:12 +00:00
seidler2547
1633d14547 forgot dollar sign 2017-02-23 20:59:12 +00:00
seidler2547
e55605dbe9 remove _all_ mktemp 2017-02-23 20:59:12 +00:00
seidler2547
cdec38ba12 return error if any removal failed 2017-02-23 20:59:12 +00:00
seidler2547
1cb6e9e7d0 remove cookiejar file
d'oh
2017-02-23 20:59:12 +00:00
Stefan Seidel
d1d2f6f451 avoid temp file for domain list 2017-02-23 20:59:12 +00:00
Stefan Seidel
743f821f1e improve error message on failed authentication 2017-02-23 20:59:12 +00:00
Stefan Seidel
b95a99e0c2 remove cookiejar temp file 2017-02-23 20:59:12 +00:00
Stefan Seidel
3ebbeb103c old habits 2017-02-23 20:59:12 +00:00
Stefan Seidel
0d4035e996 remove fgrep, escape regex chars instead 2017-02-23 20:59:12 +00:00
Stefan Seidel
88ed5e506a fix whitespace and UUOC 2017-02-23 20:59:12 +00:00
Stefan Seidel
76a3371b40 remove non-POSIX sed -r and use built-in functions 2017-02-23 20:59:12 +00:00
Stefan Seidel
7b2fa1edb4 add API for www.do.de/www.resellerinterface.de 2017-02-23 20:59:12 +00:00
neil
e1c42eb6cc Merge pull request #414 from noplanman/cyon_dns_api
Cyon.ch DNS API
2017-02-20 19:13:35 +08:00
Armando Lüscher
a6d2e3a1e6
Suppress shellcheck warnings. 2017-02-19 13:26:32 +01:00
neilpang
e6e85b0c55 secure debug message 2017-02-19 13:24:00 +08:00
neilpang
db50462920 minor use interactive _sleep 2017-02-18 12:03:21 +08:00
Armando Lüscher
3e1418d662
Use gloo item key for environment change, to support different account types.
(this isn't working 100% yet, still looking for a solution)
2017-02-12 12:30:06 +01:00
Armando Lüscher
884f70fb39
Remove square brackets from ranges.
Export curl header variables.
2017-02-12 12:24:58 +01:00
Armando Lüscher
9499a1142b
Remove custom URL encoding and use library's implementation. 2017-02-12 12:24:58 +01:00
Armando Lüscher
6e8dcdce78
Satisfy shellcheck. 2017-02-12 12:24:58 +01:00
Armando Lüscher
ce9fae82bd
Update cookie retrieval using _egrep_o (thanks @Neilpang) 2017-02-12 12:24:57 +01:00
Armando Lüscher
afa3fc8bf9
Adapt to use general naming rule for account variables. 2017-02-12 12:24:57 +01:00
Armando Lüscher
09eccf6fc0
Use more flexible version of uppercase to lowercase conversion. 2017-02-12 12:24:57 +01:00
Armando Lüscher
edfefb6763
Add usage instructions and repo link to post issues. 2017-02-12 12:24:57 +01:00
Armando Lüscher
98b3dcbf37
Prefix all private functions with _cyon.
Satisfy shellcheck.
2017-02-12 12:22:50 +01:00
Armando Lüscher
2698ef6c5f
Return instead of exit.
Clear OTP secret if environment variable is set to empty. This is for when the 2FA is disabled.
Rename `_is_idn` function to `_is_idn_cyon`.
Remove usage of curl (except for URL encoding of data).
Instead of cleaning up the cookie jar, get rid of it completely and logout of cyon instead.
2017-02-12 12:22:49 +01:00
Armando Lüscher
46b2ee3bae
Replace all echos with printf. 2017-02-12 12:22:49 +01:00
Armando Lüscher
e7ee3a7dd5
Remove jq completely to not require it as a dependency. 2017-02-12 12:22:49 +01:00
Armando Lüscher
0085e6f83b
Don't use jq to fetch list of DNS entries to be deleted. 2017-02-12 12:22:49 +01:00