Commit Graph

1881 Commits (37b049869968fa55426367f140063c32d045cca4)

Author SHA1 Message Date
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.
8 years ago
Armando Lüscher 46b2ee3bae
Replace all echos with printf. 8 years ago
Armando Lüscher e7ee3a7dd5
Remove jq completely to not require it as a dependency. 8 years ago
Armando Lüscher 0085e6f83b
Don't use jq to fetch list of DNS entries to be deleted. 8 years ago
Armando Lüscher c90fa3bcfc
Fix problems found by travis. 8 years ago
Armando Lüscher 0ec9b9823f
Add DNS API for cyon.ch 8 years ago
neil c9d7daab70 fix https://github.com/Neilpang/acme.sh/issues/593 8 years ago
neilpang b4325026b1 exe 8 years ago
nytral e82ea94bb6 Merge remote-tracking branch 'upstream/master' 8 years ago
David Kerr 09ed421948 Merge remote-tracking branch 'upstream/master' into FreeDNS 8 years ago
David Kerr 87f5ec5be5 Add Accept-Language:en-US to HTTP header as precaution against future multi-lingual FreeDNS pages. 8 years ago
David Kerr f78b656f5f Add error message if fails to add TXT record for missing security code (probably a FreeDNS public domain) 8 years ago
David Kerr e6b940e247 Minor edits to FreeDNS documentation 8 years ago
David Kerr 50a9680f17 Travis error... remove blank line at end of file. 8 years ago
David Kerr 40e6ba1100 fix heading level to match others. 8 years ago
David Kerr 0aed065a75 Updates to README.md 8 years ago
neilpang 1476a9ecf1 fix format 8 years ago
David Kerr 600a235140 Add FreeDNS plugin 8 years ago
neil aec8307417 Merge pull request #540 from trancee/dev
Added support for Linode DNS API.
8 years ago
neilpang d78ba322bf fix update 8 years ago
neilpang ab5c1b0a3a minor 8 years ago
neilpang 53fa16d39f minor 8 years ago
neilpang 05cf405cb5 minor 8 years ago
neilpang 5d833336d3 minor 8 years ago
neilpang bb6326f4d4 fix for solaris 8 years ago
Philipp Grosswiler c070407ab2 Fixed Travis CI complaining about missing newline at end of file. 8 years ago
neilpang 1c22c2f76a fix for solaris 8 years ago
neilpang 646c0bfcb9 fix for solaris 8 years ago
neilpang bcf96608d1 fix for solaris 8 years ago
Philipp Grosswiler dd17ac5045 Added instructions on how to get the Linode API key. 8 years ago
Philipp Grosswiler 59182dbc97 Removed Linode CLI dependency. 8 years ago
neilpang 542d7977db add new _url_encode 8 years ago
Philipp Grosswiler 38f2334360 Added support for Linode DNS API. 8 years ago
Bastian Bittorf 3ca93f4a4c shellcheck: fix several occurences of SC2034
message:
SC2034: $VARNAME appears unused. Verify it or export it.

most of these are related to the style:
we generate global vars, which are used in other functions.

the var "lexical_url" was really unused (left it as comment)

the travis-check now does not need anymore special flags.

Signed-off-by: Bastian Bittorf <bb@npl.de>
8 years ago
Bastian Bittorf 3b67cf4378 dnsapi/dns_dp.sh: shellcheck: fix 1 occurence of SC2126
shellcheck message was:
"Consider using grep -c instead of grep | wc"
8 years ago
neilpang 671a699472 minor, fix shellcheck warning 8 years ago
Bastian Bittorf 800f02ba38 dnsapi/dns_lexicon.sh: shellcheck: fix 4 occurences of SC2021:
"Don't use [] around ranges in tr, it replaces literal square brackets."

this introduces another warning:
"Use '[:lower:]' to support accents and foreign alphabets."

This is more a style thingy because we really want to only catch A-Z.
work around this by using a shellcheck-directive and a comment
that the [:lower:] will not work with e.g. busybox-ash.

if we later really want to use [:lower:], we should use 'sed' for that.
8 years ago
Kevin Kaland 3cf85634eb Trim potential closing curly brace.
Fixes GH-517.
8 years ago
Karsten Sperling 5415381cf4 Add support for AWS_SESSION_TOKEN and fix bug when multiple hosted zones exist 8 years ago
Paul Koppen 7b4be7be40 Remove spaces from blank lines. 8 years ago
Paul Koppen b90917a529 Improve legibility. 8 years ago
Paul Koppen 180f05f6f0 Add instructions for the Alwaysdata API. 8 years ago
Paul Koppen 831b95f13a Merge suggested improvements.
* Use `_head_n`.
* Add link to GitHub repo for bug reporting.
8 years ago
Paul Koppen 331b599a81 Use _post for DELETE and switch to JSON API (Alwaysdata default). 8 years ago
Paul Koppen e5079b9dad Add Alwaysdata DNS API. 8 years ago
neilpang 15af89d51c fix https://github.com/Neilpang/acme.sh/issues/490 8 years ago
neilpang 8c71bd57e7 fix https://github.com/Neilpang/acme.sh/issues/491 8 years ago
klemens 329174b6d9 spelling fixes 8 years ago
neilpang 2728170c01 add debug info 8 years ago
neilpang 7d1c5fca0b fix for solaris 8 years ago
neilpang 39d1eeda23 fix for solaris 8 years ago
neilpang 122cc48c29 minor 8 years ago
neilpang c7c57cfa0e fix for solaris 8 years ago
neilpang dfbc244b00 support aws remove 8 years ago
neilpang f1f3074306 fix format 8 years ago
neilpang f162ad193f support dnspod remove 8 years ago
neilpang c0d0100ca8 fix format 8 years ago
neilpang 21f201e371 support cloudflare rm function 8 years ago
neilpang df62150b5a Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 8 years ago
neilpang eea52a5fa6 update api template 8 years ago
Marcello Barnaba c12be766e9 Fix Route53 API consumer
Ignoring the Chthlulu argument 😃, Route53 returns its XML all on one line, making not possible to grep the hosted zone record with egrep/sed.

This change splits the XML in multiple lines, so that parsing can succeed.
8 years ago
kookxiang 8379f015d7
Finish dns_cx_rm() method 8 years ago
neilpang a62706678e fix for solaris 8 years ago
neilpang e4468562d2 fix cx 8 years ago
neilpang 3747b7d930 fix cx 8 years ago
neilpang 5be3f22d06 fix issue 8 years ago
neil c572ce946b Dev (#434)
* do not use script home

* fix format

* fix issue when there is no one records in the domain.
8 years ago
neilpang d69f0289ca fix issue when there is no one records in the domain. 8 years ago
neil 58bb94d7c7 Update README.md 8 years ago
sjau 5eed02f7e9 Changing shebang back to sh 8 years ago
sjau 983f1f28ca Fixed wrong zone getting JSON and added lots of debug info 8 years ago
sjau 192ede5e64 Added ISPConfig DNS API 8 years ago
neilpang dbd94d047b fix for aliyun api 8 years ago
baiyangliu be39ab32d1 Add DNS API support for aliyun (#410)
* Add DNS API support for aliyun

* Update README.md

* format

* format

* format

* format...

* format...

* format

* format

* fix bug

* fix bug

* code format

* code format

* fix bug

* just ok...

* fix bug

* fix bug

* fix bug

* change "echo" to "printf"

* fix bug

* code format

* fix bug."head -c" in function _ali_nonce not supported by solaris

* fix bug."head -c" in function _ali_nonce not supported by solaris

* format

* fix bug._ali_nonce not work on solaris

* fix bug. _ali_nonce not work on solaris

* fix bug. _ali_nonce not work on solaris

* add aliyun.com to README.md
8 years ago
neilpang 5b771039fc Support AWS Route53 api 8 years ago
neilpang 2f1bc5864f fix format 8 years ago
neilpang 16d79ebaac fix format 8 years ago
neilpang e009ec8b93 Support AWS Route53 api 8 years ago
neilpang cd79b0343a Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 8 years ago
neilpang 88a8d7d901 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 8 years ago
magna-z d5c00071d3 Add functional in method dns_pdns_rm() 8 years ago
neilpang ab45b7783f fix format 8 years ago
neilpang 4a56b2406b fix check email 8 years ago
neil 40a3ae04b6 Merge pull request #393 from Neilpang/dev
Dev
8 years ago
neilpang ac26f84170 fix shfmt 8 years ago
neilpang fa574fe833 fix shfmt 8 years ago
Armando Lüscher d20831e41a
Update DNS API readme 8 years ago
neil 9882f3429a Update README.md 8 years ago
nytral a9b15f1c36 Merge remote-tracking branch 'upstream/master' 8 years ago
Philippe Kueck ce38ecb966
merge with upstream 8 years ago
Philippe Kueck 13ffa17048
add documentation for dns_nsupdate 8 years ago
Philippe Kueck 243593cdaa
fix warnings and remove unused ${tmp} variable 8 years ago
neilpang a8c6111197 fix shellcheck warnings 8 years ago
neilpang 3de8570022 fix shellcheck warnings. 8 years ago
neilpang a0311b0134 fix for shellcheck warnings 8 years ago
neilpang 422e5026d6 fix shellcheck warnings 8 years ago
neilpang 797cbb9b20 fix shellcheck warnings 8 years ago
neilpang e440223b40 fix shellcheck warnings 8 years ago
neilpang 69925ce823 fix shellcheck warnings. 8 years ago
neilpang e9f9f515bd fix shellcheck warnings. 8 years ago
neilpang c7b8f223ee fix for solaris tr 8 years ago
neilpang a0636d5a87 fix shellcheck warnings. 8 years ago
neilpang c7b16249b8 fix shellcheck warnings 8 years ago
nytral 764963e986 sync upstream 8 years ago
neilpang dec90f7e5e format dns_me api 8 years ago
nytral 2ea5b283a8 _hmac use and generic date 8 years ago
nytral eb23549cd6 s/bash/sh/ 8 years ago
nytral cd90062850 better bugfix 8 years ago
nytral 3ec72fcee9 bugfix 8 years ago
nytral b9091e14b3 adding DNSMadeEasy API 8 years ago
root 439580b91b apply shfmt to dns_dp api. 8 years ago
neilpang 4c2a384159 Add shfmt to format source code 8 years ago
nytral 22b83d7630 _hmac use and generic date 8 years ago
nytral 0b5bff01e1 s/bash/sh/ 8 years ago
nytral 4fe7b6cd65 better bugfix 8 years ago
nytral 49e1f7d8bf bugfix 8 years ago
nytral 803fb243bf adding DNSMadeEasy API 8 years ago
nytral f58e83ee87 READMEs edit 8 years ago
nytral 1d9f76e2c8 working email contact added 8 years ago
nytral 56e0269e5e email contact added 8 years ago
nytral 662df85e54 s/bash/sh/ 8 years ago
nytral 2be4a5e486 use _base64 8 years ago
nytral a43d697225 cleanup 8 years ago
nytral f06c1e6c78 luadns bash script 8 years ago
Philippe Kueck 54d61bdc4a
- get rid of bash-only syntax like ${foo:-bar}
- use sh instead of bash
- remove redundant functions _info, _err, _debug and _debug2
- get rid of mktemp, pipe commands directly to nsupdate
9 years ago
Philippe Kueck 0fb206fe15
add nsupdate script for dns-01 9 years ago
neilpang 5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
9 years ago
Peter Lyons caa2e45a8c use RFC2606 example.com domain in docs (#327)
https://www.rfc-editor.org/rfc/rfc2606.txt
9 years ago
root 095fe2ed1b minor 9 years ago
neilpang b9311282eb minor fix pdns api 9 years ago
Maxim Zalysin d6f0c2b52b Add support PowerDNS API (#322)
* Add support PowerDNS API

* Small fixes
9 years ago
neil fdcb6b721c fix for busybox 9 years ago
neil ef858ef062 use head -n 9 years ago
neil cfdaff5a46 fix cf 9 years ago
neil 73ba54a502 Support OVH domain api 9 years ago
neil 690a5e205d Support Ovh domain api (#273)
* support ovh

* fix success link

* fix OVH issues.

* v2.4.3 Support OVH domain api
9 years ago
neil 22ea4004e1 Support SunOS/Solaris (#260)
Support SunOS/Solaris 

* Support Solaris

* Support SunOS/Open Solaris
9 years ago
neil d190a43e0a https://github.com/Neilpang/acme.sh/issues/258 9 years ago
Jim Ma fe09757cb3 dns_cx.sh prefix and suffix domain bug fixed 9 years ago
root 0886e67df7 chmod +x 9 years ago
neil 30de13b4df support Godaddy domaain api 9 years ago
Trevor Goodyear 3e99ffe692 Update README.md to fix typo: scrypt -> script 9 years ago
neil d07e8f91c4 Update README.md 9 years ago
neil bf233fbd48 minor 9 years ago
rajcz d65e3d9a6e typos 9 years ago
neil bb276fc985 minor. 9 years ago
raunsbaekdk 8d5618c44a Bash does not support double equal sign (#192)
use single equal sign '=' instead.
9 years ago
neil 06e8b869b9 Update README.md 9 years ago
neil 61579ec329 Update README.md 9 years ago
root 9bf69d30e0 exec mode 9 years ago
neil 218dc3390f support lexicon dns api 9 years ago
neil a4270efac9 fix wget support in dns api 9 years ago
neil 01f54558b9 fix error message. 9 years ago
Indust 4fa08fc78c fix record update error for cloudxns (#167)
thanks.
9 years ago
neil 0a7c936442 modify shebang to bash after install if bash is installed. 9 years ago
neil 00a506053c compatible to dash 9 years ago
neil 8663fb7e64 revert to bash. there are some issue with sh need to fix yet. 9 years ago
neil 99dc89c051 v2.2.0. It's time to declare that we are `sh` compatible, not only `bash`. 9 years ago
neil 158f22f733 fix compatible for sh. rename api. '-' is not allowed in the function name. 9 years ago
neil eccec5f6d5 fix compatible for sh. '-' is not allowed in function name. 9 years ago
neil 036e9d1074 fix compatible for sh 9 years ago
Sergei Filippov fb67522324 Update dns-myapi.sh 9 years ago
neil 5c917113e8 V2 help 9 years ago
neil a63b05a9e7 le.sh v2.0.0
1. Unix-like command api
2. 100% compatible with le.sh 1.x command api.
3. Support different webroot for each domain in the same cert.
```
le.sh  --issue  -d a.com  -w /wwwroot/a.com  -d b.com -w /wwwroot/b.com
```
4. Support different authentication methods for each domain in the same cert. Hybrid usage:
```
le.sh  --issue  -d a.com -w /wwwroot/a.com  -d  b.com -dns dns-cf
```

5. Two different debug levels to provide useful debug info. `--debug`  or `--debug 2`
6. Support to install `fullchain.cer` after renewal.
7. Better performance.
9 years ago
neil d250f9c715 fix bug for cloudflare api 9 years ago
neil e6d31b4e0c minor, add debug info 9 years ago
neil 86c9e55ca2 fix doc error 9 years ago
neil 855d949985 fix links 9 years ago
neil 39c6df299c readme for using api 9 years ago
neil 0809486529 support cloudxns.com api 9 years ago
neil 65785b5fef typos 9 years ago
neil 876df8567a Merge branch 'master' of https://github.com/Neilpang/le 9 years ago
neil 9773342ad1 support dnspod.cn api 9 years ago
Neil 36d5db158a typos 9 years ago
neil e9209938cb support account config file to save dns api key 9 years ago
neil ab49796192 how to use cloudflare api and create custom api 9 years ago
neil 0ed4c9391e sleep to wait dns record to take effect. 9 years ago
neil 638b9a0559 fix bugs 9 years ago
neil 1b5bd0e03e minor fix 9 years ago
root 23bcf2c623 exec 9 years ago
neil 175c9decd7 init dnsapi 9 years ago