Commit Graph

1241 Commits

Author SHA1 Message Date
scottkof
a22d3b2390
Switch from sleep to _sleep 2019-10-28 06:32:08 -07:00
stilez
7c09bdc6e0
renamed 2019-10-27 16:58:58 +00:00
stilez
bc291141b1
fix filename 2019-10-27 16:58:22 +00:00
peterkelm
c1b089d1c3
unused code removed 2019-10-27 16:58:36 +01:00
peterkelm
1271f97b66
fixed dns_variomedia_rm for wildcard certs
fixed dns_variomedia_rm to respect the txtvalue supplied as function parameter
2019-10-27 16:52:51 +01:00
peterkelm
582c77805c
variomedia dns api
initial commit for the variomedia dns api implementation
2019-10-27 13:13:22 +01:00
stilez
9eb5f65b8f
edit comments 2019-10-27 07:38:22 +00:00
stilez
1253357a39
edits to comments 2019-10-27 01:48:02 +00:00
stilez
6df31eb7f5
travis 2019-10-27 01:13:15 +00:00
stilez
9299a83b17
Travis fixes 2019-10-27 01:10:03 +00:00
stilez
a6614abd24
Formatting fixes for Travis 2019-10-27 01:00:59 +00:00
stilez
6ef8adc863
Merge branch 'dev' into master 2019-10-27 01:26:06 +01:00
stilez
274393ac64
Create DNS 01 module for Plesk XML API 2019-10-27 01:09:50 +01:00
stilez
1339b9422d
Update for dns pleskxml 2019-10-27 01:04:08 +01:00
scottkof
df3575217a
Avoid API throttling errors in AWS DNS plugin 2019-10-25 12:05:15 -07:00
neil
c504506455
Merge pull request #2455 from RolphH/leaseweb-api
Added Leaseweb API for dns-01 verification
2019-10-25 22:41:23 +08:00
neilpang
2a28772312 fix https://github.com/Neilpang/acme.sh/pull/2553#issuecomment-546173277 2019-10-25 22:34:33 +08:00
Rolph Haspers
e48daffad9 Fixed error 2019-10-25 13:46:10 +02:00
Rolph Haspers
58642286c9 Fix for SC2039/SC2086 2019-10-25 13:22:19 +02:00
Rolph Haspers
6d62ae226a Small fix 2019-10-25 12:14:53 +02:00
Rolph Haspers
14f6f9ec94 Fixed wrong assignement of var 2019-10-25 11:56:27 +02:00
Rolph Haspers
e10f447b5b Fixed some bugs, tested and working 2019-10-25 11:42:15 +02:00
Rolph Haspers
1d1f61613c Check for root domain via API 2019-10-25 09:25:29 +02:00
Jesai Langenbach
b85c1a8861 Fix additional line 2019-10-25 08:22:15 +02:00
Jesai Langenbach
430956d304 Fix whitespaces 2019-10-25 08:13:35 +02:00
Jesai Langenbach
c0449a3ed2 Only save Attributes if it is set 2019-10-25 08:04:20 +02:00
neil
18ad01533b add space.
fix https://github.com/Neilpang/acme.sh/pull/2553
2019-10-24 09:19:18 +08:00
David Robles
573c8f3b13 Use more widely supported options for the "tr" command line utility by removing the use of the character class representation option. [:space:] => "\t\r\n\v\f" 2019-10-23 07:20:01 -07:00
neil
e85d7a7be5
Merge pull request #2534 from billgertz/patch-2
dnsapi/dns_miab.sh MIAB DNS-01 Validation
2019-10-23 22:07:20 +08:00
neil
7015215f26
Merge pull request #2548 from rserpent/dns_nic
nic.ru dnsapi
2019-10-20 17:02:30 +08:00
rserpent
ffa5472b31
fix whitespaces 2019-10-16 16:25:38 +05:00
rserpent
e00f0b4cf1
Update dns_nic.sh 2019-10-16 15:31:50 +05:00
rserpent
dc5c220e8f
dns_nic init 2019-10-16 15:12:21 +05:00
Bill Gertz
933d49b0b0
Style space change
Extra space on empty line 27.
2019-10-14 00:06:08 +02:00
Bill Gertz
9af85f5a7e
Updated to use _H1 Authorization: Basic
Updated to use suggested export _H1 env var to supply Authorization Basic credentials. This undocumented support for Basic Authorization, ContentType, etc. needs to be documented in DNSAPI Dev Guide. Removed two stray debugging lines.
2019-10-14 00:01:25 +02:00
Bill Gertz
7ec52145e8
Space style changes.
Local copy of shellcheck somehow missed these, odd.
2019-10-13 20:02:03 +02:00
Bill Gertz
aa6112482d
Rewrite to conform to Dev guide
Created _get_root() that tests the requested host is a subdomain to the domains hosted on MailinaBox (MIAB) DNS Server. Created common _miab_rest() used with dns_miab_add(), dns_miab_rm() and _get_root(). Also created barbaric _is_json() to test the response given by the MIAB Custom DNS API at least looks like a JSON file. We should add a hint to use _normalizeJson with JSON responses so _startswith, _endswith won't perplexingly fail.
2019-10-13 19:56:04 +02:00
neil
d035cdcff9
Merge pull request #2537 from master-nevi/master
Use more widely supported options for the "tr" command line utility in dns_freedns.sh
2019-10-10 10:38:17 +08:00
neil
38e08bb91f
Merge pull request #2434 from dkerr64/FreeDNS
Work around bug in _egrep_o() function
2019-10-10 10:34:26 +08:00
David Robles
ba7db3edda Use more widely supported options for the "tr" command line utility by removing the use of the character class representation option. Fixes #2536 2019-10-09 08:24:24 -07:00
Bill Gertz
f64b061a28
Style issue
Spaces on blank line on line 133.
2019-10-08 18:46:35 +02:00
Bill Gertz
f323ced4ca
Style issues and orphan _postContentType debug fix
Fixed spacing and removed unneeded debug for _postContenetType
2019-10-08 18:24:14 +02:00
Bill Gertz
c06ec7c6ba
Removed parameters and unused code for _miab_post
Ok, should have noticed earlier that the calls to the private function _miab_post() never used the _needbase64_ or the __postContentType parameters. Parameters and code to handle them has been factored out.
2019-10-08 18:15:16 +02:00
Bill Gertz
835f9aad91
Um that's a wee bit of nit pick.
'Errant' space removed on blank line on line 147.
2019-10-08 16:47:32 +02:00
Bill Gertz
a4ec9f8b44
Fixed weird spacing on line 180
Um, fixed.
2019-10-08 16:34:56 +02:00
Bill Gertz
47c33d0344
Cleanup/ removed private function _get_root
Function _get_root() copied from acme.sh and is not needed here. Other cleanup as recommended by acme.sh test bot.
2019-10-08 16:29:23 +02:00
Bill Gertz
f500c7abcb
dnsapi/dns_miab.sh MIAB DNS-01 Validation
Know I'm new to contorting to this project. I i've broke conventions please let me know what I've screwed up and I'll set it right as quickly as possible.

Propose this as a new DNS-01 validation script to dynamically add challenge DNS records to MailinaBox (MIAB) DNS. MIAB uses a custom DNS API to manage external DNS records.

The script was originally written by Darven Dissek and can be found in his repository: https://framagit.org/DarvenDissek/acme.sh-MIAB-DNS-API/). This has been forked and some slight cleanup applied and change shebang to UNIx shell. The forked repository can be found here: https://github.com/billgertz/MIAB_dns_api.

Wrote to Darven but received no reply. Support for this script has been submitted to the OPNsense project via this pull request: https://github.com/opnsense/plugins/pull/1531
2019-10-08 15:47:39 +02:00
neil
95dd7b5323
Merge pull request #2531 from moose-kazan/master
Fix for dns_vultr.sh
2019-10-06 20:13:19 +08:00
Vadim Kalinnikov
e484f32b1a - Return shell detect via env 2019-10-06 14:40:57 +03:00
Vadim Kalinnikov
bc396e7a90 Small fix in dns_vultr.sh 2019-10-06 14:38:26 +03:00
Peter Dave Hello
ac9f6e3a41 Remove trailing spaces in text files
This issue in the shell scripts will also be detected in the stable
version of shfmt(we are currently using an ancient pre-release of shfmt)
2019-10-05 21:09:24 +08:00
Michael Braunoeder
72d800ed10 [DNSAPI] add dns_rcode0.sh - Support for https://my.rcodezero.at/api-doc (#2489)
* first version dns_rcode0.sh

* fixed URLs for ACME calls

* fixed challenge remove

* read & write Token/URL at rm too

* make info messages debug

* typos fixed

* update rrset only if existing challenge is found

* polish error messages and make "detect root zone" scaleable

* fixed formating issues

* code cleanup, remove some unneeded functions

* removed empty lines

* save rcode0 url only if not default
2019-10-05 11:47:57 +08:00
Boot Lee
950d024a11 fix grep error when txt value begin with - char (#2471) 2019-09-14 23:06:25 +08:00
Jesai Langenbach
bfa6e52470 another whitespace 2019-09-12 20:50:20 +02:00
Jesai Langenbach
ec654d2355 More space removing 2019-09-12 17:24:00 +02:00
Jesai Langenbach
dfb4883c93 Some fixes 2019-09-12 17:17:32 +02:00
Jesai Langenbach
4bf1f579f5 Add OPNsense Bind API Support 2019-09-12 16:28:57 +02:00
Kent Varmedal
80d63dbb7c Add support for Domeneshop DNS API (#2458)
* Add support for Domeneshop DNS API

* Fix double quotes after build fail

* Fixing formating errors
2019-09-05 22:26:28 +08:00
Phil Porada
6b817d4563 Set TXT record TTL to minimum possible value (#2465) 2019-09-05 22:15:28 +08:00
Rolph Haspers
f0d6d46766 Added link to API docs 2019-08-19 17:27:19 +02:00
Rolph Haspers
4a81205e04 Styling, trailing space 2019-08-19 16:22:48 +02:00
Rolph Haspers
0ac37981cb Styling, newline removed 2019-08-19 16:04:16 +02:00
Rolph Haspers
400c31d031 Fixed another styling issue (trailing spaces) 2019-08-19 16:01:51 +02:00
Rolph Haspers
54b38086e5 Fix style issues 2019-08-19 15:39:19 +02:00
Rolph Haspers
e0deca33d0 Added Leaseweb API for dns-01 verification 2019-08-19 14:27:23 +02:00
David Kerr
0b2b8b960b
Replace grep -o with sed 2019-08-16 22:56:22 -04:00
Sky Chen
9b173dcd71 fixed #2441: dns_namesilo.sh _get_root (#2442)
fixed #2441: dns_namesilo.sh _get_root (#2442)
2019-08-15 14:23:12 +08:00
neil
ee38cccad8
sync (#2436)
* fix https://github.com/Neilpang/acme.sh/issues/2409 (#2430)

* Add variable exports for Successful Post Hook and Renew Hook calls (#2431)

* fixed json parse regex for support api gcore_cdn (#2381)
2019-08-11 11:56:59 +08:00
David Kerr
9826b8ae69 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into FreeDNS 2019-08-09 21:05:08 -04:00
neil
874bd093cb
fix https://github.com/Neilpang/acme.sh/issues/2409 (#2430) 2019-08-05 22:35:40 +08:00
James Qian
d42cf6daeb dnsapi: fix typo in dns_desec.sh (#2427)
Signed-off-by: James Qian <sotux82@gmail.com>
2019-08-05 21:35:03 +08:00
neilpang
b9b2cd278b fix https://github.com/Neilpang/acme.sh/pull/2275 2019-07-29 21:12:19 +08:00
neilpang
41c951811e fix format 2019-07-27 11:09:13 +08:00
neilpang
72e7eb6777 fix format 2019-07-27 10:49:11 +08:00
neilpang
c25947d544 support new Cloudflare Token format
fix https://github.com/Neilpang/acme.sh/issues/2398
2019-07-22 22:25:50 +08:00
neilpang
93d29a9733 update 2019-07-20 17:09:36 +08:00
Szilárd Pfeiffer
ccc2142b45 added dns api support for hexonet (#1776) 2019-07-20 16:00:38 +08:00
Yuri S
8d393ff137 Add dnsapi for Vultr (#2370)
* Add Vultr dns api
2019-07-20 12:26:23 +08:00
neilpang
5c09788ec4 fix error 2019-07-18 22:20:51 +08:00
neilpang
5e970cdca4 Merge branch 'dev' of github.com:Neilpang/acme.sh into dev 2019-07-18 21:07:34 +08:00
neilpang
28cadc5e06 check empty id 2019-07-18 21:05:59 +08:00
Honza Hommer
28a9df669d Escape slashes (#2375) 2019-07-13 20:35:09 +08:00
neilpang
42497028c4 ttl 3000 2019-07-13 19:35:55 +08:00
neilpang
57b16e3ac2 fix format 2019-07-13 17:42:01 +08:00
neilpang
bd9af86de1 support jdcloud.com 2019-07-13 17:33:04 +08:00
David Kerr
2ce9fb9760
Work around bug in _egrep_o() function
_egrep_o() function accepts extended regex and on systems that do not have egrep uses sed to emulate egrep.
This is failing on the specific regex I was using before my last commit... ae66c6f0b4
The problem is that I fixed it by passing in non-extended regex which then fails on systems that do have egrep.  So I am no longer using _egrep_o.
2019-07-11 18:06:56 -04:00
David Kerr
ae66c6f0b4
Fix bug (in egrep regex) reported by @maks2018 in issue 2305
Fix bug reported by @maks2018 in issue https://github.com/Neilpang/acme.sh/issues/2305 by updating the regex in egrep of the subdomain html page.
2019-07-11 15:46:17 -04:00
Raphaël Berlamont
971a85a6f8 dns_azure : Multiple domains with same ending bug
We have a few domains that ends the same. For example :
  iperfony.com
  perfony.com

The problem was in the _get_root functions, when getting the domain_id :
only the first result "iperfony.com" was returned, because "perfony.com"
is contained in the "iperfony.com" string.

The correction consist of being strict in the regex, adding a slash (/)
so that it will only match on ".*/(perfony.com).*" and not
".*(perfony.com).*".
2019-06-29 18:14:34 +02:00
neilpang
468edfa6cc Merge branch 'dev' of github.com:Neilpang/acme.sh into dev 2019-06-19 21:50:08 +08:00
neilpang
c83f2f98bd fix https://github.com/Neilpang/acme.sh/issues/2300 2019-06-19 21:49:42 +08:00
neil
24e574ee09
Merge pull request #2324 from deflorator1980/dns-api-regru
Dns api regru
2019-06-17 22:05:41 +08:00
AndreyIsakov
d883a870e1 dnsapi for regru: remove debug info 2019-06-13 19:56:40 +03:00
AndreyIsakov
f2c6e3f65b dnsapi for regru: replace echo by _info() 2019-06-13 19:31:44 +03:00
neil
65058db89f
Merge pull request #2071 from awalgarg/dns_maradns
Add support for MaraDNS
2019-06-12 19:34:53 +08:00
AndreyIsakov
487d2a9221 dnsapi for regru: CI linter remove empty line 2019-06-11 20:13:48 +03:00
AndreyIsakov
6151debeab dnsapi for regru: CI linter ok 2019-06-11 19:59:02 +03:00
AndreyIsakov
e05ef230a7 test CI error 2019-06-11 19:37:39 +03:00
neilpang
10d1361a2c add guide link 2019-06-10 22:35:55 +08:00
Dominic Jonas
1ef7fd3659 support to delete multiple entries 2019-06-05 11:38:41 +02:00
neil
6650072fe6
Merge pull request #2276 from der-berni/dev
updated to work with one.com
2019-06-04 20:53:23 +08:00
neil
c74686a197
Merge pull request #2285 from dkerr64/FreeDNS
Fixes to dns_freedns.sh for multi-part top level domain names
2019-06-03 20:08:10 +08:00
David Kerr
924e0261f9
Update dns_freedns.sh 2019-06-02 13:09:57 -04:00
der-berni
1a5279bd6e
cleanup according to styleguide 2019-05-31 08:55:21 +02:00
der-berni
937d5b5472
try to remove errors in travis-ci 2019-05-31 08:26:48 +02:00
Kay Roepke
145b1f4fb3
Improve compatibility with *BSD xargs
The --no-run-if-empty option is a GNU extension and the long version isn't supported by *BSD variants.
Instead use the short version (-r) which is present, but ignored as it is the default behavior, in at least FreeBSD: https://www.freebsd.org/cgi/man.cgi?xargs
2019-05-28 13:46:19 +02:00
der-berni
89e73594eb
fixed error in CI 2019-05-25 17:35:40 +02:00
Awal Garg
8152309435 Add support for MaraDNS
MaraDNS is a lightweight self-hosting DNS server. This patch adds
support for adding records to zone files stored on the server in the
format expected by MaraDNS. Path to the file should be exported in
MARA_ZONE_FILE environment variable. To reload the configuration
automatically, the user must provide path to the pid file of duende (the
daemonization tool that ships with MaraDNS) in MARA_DUENDE_PID_PATH
(--pid argument to duende).
2019-05-25 16:55:09 +05:30
der-berni
a3089a719f
Updated to work with curl
Now works with curl.
Check the root domain.
2019-05-24 09:44:13 +02:00
David Kerr
2cb0b00e3a
replace _read_conf() with _readaccountconf() 2019-05-23 18:11:25 -04:00
neil
264ec5bab7
Merge pull request #2284 from devNan0/fix_netcup_parsing_on_bsd
dnsapi: netcup: Fix sessionid parsing on BSD
2019-05-23 21:30:22 +08:00
der-berni
e340593ad1
Revert parameter changes
Revert ONECOM_PASSWORD back to ONECOM_Password
and ONECOM_USER back to ONECOM_User
2019-05-23 09:39:54 +02:00
devNan0
05b6afcd17 Make travis happy. (SC2020) 2019-05-23 08:15:03 +02:00
David Kerr
10994d65be Even blank lines (with spaces) give Travis heartache. Sigh. 2019-05-22 23:01:23 -04:00
David Kerr
a18ce275ab Another Travis CI warning fixed. 2019-05-22 22:54:56 -04:00
David Kerr
66c39a953a Fix warnings from Travis build 2019-05-22 22:50:26 -04:00
David Kerr
09fb9dcd92 Fix bug preventing multipart TLD names to work. And simplify/cleanup the code. 2019-05-22 22:16:46 -04:00
devNan0
50d5c4b9ca Fix sessionid parsing on BSD 2019-05-22 17:01:11 +02:00
Oliver Dick
0e9ba9a004 remove _hostingde_parse_no_strip_whitespace function as this breaks API requests 2019-05-22 16:20:28 +02:00
neil
ef7d259bb7
Merge pull request #2277 from mjthompson/patch-1
Fix typo
2019-05-21 23:04:54 +08:00
mjthompson
688fe131c9
Fix typo 2019-05-21 18:21:54 +08:00
der-berni
68b42a00e0
updated to work with one.com
rev command not found on OpenWrt
CURL does not work, using wget
JSESSIONID replaced with OneSIDCrmAdmin
CSRF_G_TOKEN not needed
2019-05-20 17:40:43 +02:00
neil
527e1b8a16
Merge pull request #2273 from MilanPala/active24_fix_token
Fix saving token for DNS Active24
2019-05-19 18:28:17 +08:00
Milan Pála
f6d6658de7
Fix saving token for DNS Active24 2019-05-19 11:47:19 +02:00
neilpang
cf4c603362 fix format 2019-05-19 08:05:40 +08:00
neilpang
ace947e6b3 add dns_durabledns.sh 2019-05-18 21:00:39 +08:00
neil
ccefd3be02
Merge pull request #2255 from mdbraber/update-acmeproxy
dns_acmeproxy: Username/password no longer required
2019-05-13 22:47:18 +08:00
Maarten den Braber
5e165819a1 Update authentication logic / info 2019-05-13 08:45:57 +02:00
neil
ade9d662db
Merge pull request #2210 from chasefox/dev
Fix gcloud most-specific zone match
2019-05-12 21:58:44 +08:00
wapplay
657051e4b6 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
# Conflicts:
#	README.md
#	dnsapi/README.md
2019-05-12 13:36:01 +03:00
neil
1a6af5d896
Merge pull request #1582 from v0s/pddfixes
Multiple fixes to Yandex DNSAPI plugin
2019-05-12 15:40:17 +08:00
Maarten den Braber
f9e3a2132f Username/password no longer required 2019-05-09 21:14:26 +02:00
neil
9ab318cafc
Merge pull request #2250 from mdbraber/add-acmeproxy-provider
Add acmeproxy provider
2019-05-08 22:17:34 +08:00
neilpang
11ecbd27be fix punycode domain 2019-05-08 22:07:27 +08:00
Maarten den Braber
585ef998d0 Fixed CI errors 2019-05-07 16:47:23 +02:00
Maarten den Braber
c297aff99b Improved logging description 2019-05-06 18:31:58 +02:00
Maarten den Braber
68142c9835 Update description 2019-05-06 17:14:31 +02:00
Maarten den Braber
b8f4fa359c Add acmeproxy provider 2019-05-06 17:12:50 +02:00
neilpang
dac75a1dda rename 2019-05-03 20:50:42 +08:00
neil
130b67821c
Merge branch 'dev' into dev 2019-05-03 20:46:16 +08:00
neil
b902769fa8
Merge pull request #2242 from plantroon/master
Add NLnetLabs NSD
2019-05-03 20:38:20 +08:00
neil
7503a58d1f
Merge pull request #2243 from mod242/master
New API for Schlundtech.de
2019-05-03 20:35:34 +08:00
mod242
096ce1a207
Create DNS API for Schlundtech 2019-05-02 12:18:16 +02:00
Jakub Filo
d1ef039e39 Removed trailing line 2019-05-01 12:25:46 +02:00
Jakub Filo
040ca5320d Fixed style to match upstream 2019-05-01 12:17:54 +02:00
neil
625c85291d
Merge pull request #2236 from mod242/master
Correct parsing error in sed
2019-05-01 15:14:14 +08:00
Jakub Filo
522b7c51f7 Adding NLnetLabs NSD API 2019-05-01 01:53:51 +02:00
mod242
d7be2c5b8a
Remove from Master Branch 2019-04-29 16:17:24 +02:00
neilpang
a89d50d34e use mutable 2019-04-29 21:52:22 +08:00
mod242
175b56b43c
Update dns_schlundtech.sh 2019-04-29 12:18:05 +02:00
mod242
9b68a3ef4a
Update dns_schlundtech.sh 2019-04-29 12:13:40 +02:00
mod242
345d6c5687
Update dns_schlundtech.sh 2019-04-29 10:44:23 +02:00
mod242
5b1b5cc8f2
Create dns_schlundtech.sh 2019-04-29 10:43:16 +02:00
mod242
1b062ab929
Correct sed parsing error 2019-04-28 15:58:08 +02:00
neilpang
e46b392a8d Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2019-04-26 23:58:09 +08:00
neilpang
47ff768b70 fix https://github.com/Neilpang/acme.sh/issues/2195 2019-04-26 23:57:40 +08:00
neil
68428a5d5e
Merge pull request #2205 from kirpichiki/dns_cf_invalid_domain
CloudFlare dns invalid domain
2019-04-26 23:50:50 +08:00
neil
28694e8afb
Merge pull request #2207 from Kimmax/dns_hostingde_missing_templateValues
dns_hostingde.sh zoneConfig missing templateValues object
2019-04-26 23:49:41 +08:00
neil
a85e50f465
Merge pull request #2229 from mod242/master
Create DDNSS API based on the work of helbgd
2019-04-26 23:47:19 +08:00
mod242
bb703281a2
Update dns_ddnss.sh 2019-04-25 16:18:52 +02:00
neil
1dc420ce51
Merge pull request #2139 from loonies/dns-loopia-api-endpoint
Make the Loopia API endpoint configurable
2019-04-25 20:52:38 +08:00
mod242
20af1ceb7d
Cleanup comment 2019-04-24 19:38:07 +02:00
mod242
ec982ccacb
Cleanup according to styleguide 2019-04-24 16:15:01 +02:00
mod242
a97e74b2d4
Update dns_ddnss.sh 2019-04-24 16:05:44 +02:00
mod242
fecc5b09f8
Removed -e and changed tail to funktion 2019-04-24 14:57:48 +02:00
mod242
d1030eb0b2
Create DDNSS API based on the work of helbgd 2019-04-24 14:03:54 +02:00
neilpang
9c9fed749a fix https://github.com/Neilpang/acme.sh/issues/2225
make NSUPDATE_SERVER can be overwritten
2019-04-20 12:49:51 +08:00
chasefox
4aa488f48b
Formatting - indentation
I think this is what CI wants....
2019-04-08 07:51:39 -04:00
chasefox
2d72b25c43
CI wanted double-quote 2019-04-08 07:44:41 -04:00
chasefox
f23b0aacd7
Remove here string
CI doesn't want here strings
2019-04-08 07:11:08 -04:00
Matthew R Chase
98d27c4a6a Fix most-specific zone match
Most specific zone selected by deepest sub-domain (how many '.' in the domain)
rather than seemingly irrelevant count of the number of characters within the zone.
2019-04-07 15:04:03 -04:00
Kimmax
64e5392788 Zone delete also needs new "templateValues" field 2019-04-02 23:29:58 +00:00
Kimmax
987f95221c Added missing "templateValues" object to "zoneConfig" on "_hostingde_getZoneConfig" 2019-04-02 23:08:39 +00:00
Gorbachev
6e917d156c
Trim double quotes for email and key
Currently dns_cf generates headers like this: 'X-Auth-Email: "sample@mail.com"'. Cloudflare API responses 400 BadRequest for quoted headers with message "Invalid format for X-Auth-Email header".
2019-04-02 18:05:52 +03:00
Stephane Moser
aeed287122 Add Double quote to slowrateslepp 2019-04-02 10:27:22 +01:00
neilpang
36e697b344 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2019-03-31 21:46:45 +08:00
neilpang
c2d0d4d28c root domain as dns alias mode 2019-03-31 21:46:14 +08:00
Stephane Moser
ea6a3c0963 Use AWS_DNS_SLOWRATE env variable instead of arg 2019-03-29 14:39:32 +00:00
Stephane Moser
3021c5cfad Use dnsslowrate arg 2019-03-29 14:12:50 +00:00
Miodrag Tokić
aec9c3c9a4 Double quote unquoted variables
Double quote unquoted variables to prevent globbing and word splitting.
2019-03-28 16:34:13 +01:00
Miodrag Tokić
0daa225e26 Make the Loopia API endpoint configurable
Loopia provides hosting in several countries. Each hosting location has
it's own API endpoint, such as "https://api.loopia.<TLD>/RPCSERV", where
<TLD> is one of: com, no, rs, se.

The current LOOPIA_Api variable is hard-coded to ".se". This prevents
using the Loopia DNS API on other hosting locations.

This commit makes the LOOPIA_Api variable configurable and it falls back
to ".se" TLD if LOOPIA_Api is not set.

References:

 - https://www.loopia.com/api/authentication/
 - https://www.loopia.no/api/authentication/
 - https://www.loopia.rs/api/authentication/
 - https://www.loopia.se/api/authentication/
2019-03-27 13:58:23 +01:00
Miodrag Tokić
85be2b85fd Fix error message language 2019-03-27 13:58:23 +01:00
Miodrag Tokić
a7d6146169 Extract configuration saving code to function 2019-03-27 13:58:23 +01:00
Miodrag Tokić
978ec91107 Extract configuration loading code to function 2019-03-27 13:58:23 +01:00
Charles Surett
189a7766d4
Made dns_dgon.sh use _lower_case
Fixed private function which breaks on embedded systems before.
2019-03-22 18:43:06 -04:00
James Qian
3bb97b81de dnsapi: add deSEC.io api support
Signed-off-by: James Qian <sotux82@gmail.com>
2019-03-21 10:58:13 +08:00
Sylvia van Os
0fe08e1b33
Merge branch 'dev' into feature/dns-openprovider 2019-03-20 16:12:08 +01:00
neilpang
0629c2a086 move to wiki 2019-03-20 23:01:24 +08:00
neil
a368301dbf
Merge pull request #2176 from bz-heilig/patch-1
Update README.md
2019-03-20 20:40:49 +08:00
bz-heilig
34be7e99f0
Update README.md
Added links for do.de API token creation and documentation of API.
2019-03-19 15:04:37 +01:00
Herman Sletteng
7679df062c dns_gdnsdk: Fixed stupid regex error, want literal "-", not a range 2019-03-19 14:16:13 +01:00
Sylvia van Os
71cfd874ae Fix SC2116 2019-03-18 16:10:58 +01:00
Sylvia van Os
08be0c374a Merge branch 'feature/dns-openprovider' of https://github.com/TheLastProject/acme.sh into feature/dns-openprovider 2019-03-18 15:59:08 +01:00
Sylvia van Os
7decce9718 Resolve comments on pull request 2019-03-18 15:43:52 +01:00
Sylvia van Os
22bab90a90
Merge branch 'dev' into feature/dns-openprovider 2019-03-18 12:54:19 +01:00
neilpang
c74d597c84 add debug info 2019-03-16 18:34:44 +08:00
neilpang
653c77e852 update 2019-03-16 15:09:49 +08:00
neilpang
2b36f4f57f update 2019-03-16 15:07:34 +08:00
neilpang
3f35006c26 fix error message 2019-03-16 14:35:33 +08:00
Steven M. Miano
46fbd7f1e1 support ultradns.com api (#2117)
support ultradns.com api (#2117)
2019-03-14 20:41:13 +08:00
tambetliiv
5048c6c22a Add zone.ee (zone.eu) DNS API (#2151)
* add zone.ee (zone.eu) dns api
2019-03-14 20:20:39 +08:00
Oliver Dick
532e79c7d0 Fix reading endpoint 2019-03-13 14:14:40 +01:00
Sylvia van Os
ea86ddc693
Merge branch 'dev' into feature/dns-openprovider 2019-03-13 10:22:40 +01:00
Sebastiaan Hoogeveen
4f240f538d Merge branch 'master' of https://github.com/nederhost/acme.sh 2019-03-12 14:39:26 +01:00
Sebastiaan Hoogeveen
db6db6a4e9 Removed overwriting of the HTTP header file before sending a request. 2019-03-12 14:36:42 +01:00
Sebastiaan Hoogeveen
88c6621cfe
Merge branch 'dev' into master 2019-03-12 11:59:13 +01:00
neilpang
725addafda fix format 2019-03-09 09:13:49 +08:00
Sylvia van Os
19628c4732
Merge branch 'dev' into feature/dns-openprovider 2019-03-08 16:44:36 +01:00
Sylvia van Os
04eaf7f175 Add OpenProvider support 2019-03-08 16:42:52 +01:00
neilpang
f5850d0c08 fix format 2019-03-08 22:20:56 +08:00
5ll
3d5c75420a
Changed Order 2019-03-08 10:46:35 +01:00
5ll
1d5967d143
Updated README with Core-Networks support 2019-03-08 10:45:36 +01:00
5ll
110a41d18d
initial commit
DNS API for acme.sh for Core-Networks (https://beta.api.core-networks.de/doc/)
2019-03-08 10:33:09 +01:00
Sebastiaan Hoogeveen
78c92642e4
Merge branch 'dev' into master 2019-03-02 13:58:56 +01:00
neil
693d692a47
sync (#2127)
* Support for MyDevil.net (#2076)

support mydevil

* Fix verification for namecheap domains not *owned* by the calling user (#2106)

* Peb (#2126)

* support pebble
* support async finalize order

* add Pebble
2019-02-27 20:41:50 +08:00
Timothy Nelson
ec54074392 Fix verification for namecheap domains not *owned* by the calling user (#2106) 2019-02-25 19:19:36 +08:00
dsc
23b4c9c667 add docs for one.com 2019-02-21 08:43:09 +01:00
diseq
472ed721a3
fix format 2019-02-20 21:51:59 +01:00
diseq
ed3f2646f0
fix format 2019-02-20 11:54:48 +01:00
diseq
0499d2b5c4
remove line break 2019-02-20 11:51:06 +01:00
diseq
81ba629b56
allow set-cookie as well as Set-Cookie 2019-02-20 11:27:49 +01:00
diseq
0bb746ba39
Update dns_one.sh 2019-02-20 09:44:25 +01:00
Marcin Konicki
16a0f40ac2 Support for MyDevil.net (#2076)
support mydevil
2019-02-20 09:40:36 +08:00
dsc
9ff6d6e7b5 initial commit 2019-02-17 23:20:17 +01:00
Augustin-FL
ec6569fbea fix travis 2019-02-15 08:56:09 +00:00
Augustin-FL
1ad6742dbc fix travis 2019-02-15 08:43:07 +00:00
Augustin-FL
63ea3e8d27 acme.sh does not follow Location: headers when using wget 2019-02-15 08:29:44 +00:00
Augustin-FL
9ace7db216 simplify online_rest 2019-02-15 08:08:32 +00:00
Augustin-FL
841513501a update get_root 2019-02-15 08:08:32 +00:00
Augustin-FL
5c94147603 use read/saveconf_mutable, not readconf from OVH 2019-02-15 08:08:10 +00:00
Augustin-FL
02f6d4cb66 use read/saveconf_mutable, not readconf from OVH 2019-02-15 07:56:13 +00:00
Augustin-FL
ec5fad433c Add online.net DNS API 2019-02-14 08:34:21 +01:00
Tom Cocca
d30b441ede Rackspace Cloud DNS
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>
2019-02-13 12:00:05 +11:00
neil
dda29f7e2f
Merge pull request #2082 from laszlof/nw_dns_api
Add support for Thermo, Nexcess, and Futurehosting DNS APIs
2019-02-11 23:00:14 +08:00
neil
952e281993
Merge pull request #2077 from hosting-de/fix/better-parsing-of-responses
hosting.de: better parsing of json responses
2019-02-11 22:47:08 +08:00
Oliver Dick
1fa026b9c7 using ' ' instead of '[:space:]' for tr 2019-02-11 11:47:48 +01:00
Ne-Lexa
412f85b665 Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev
# Conflicts:
#	README.md
#	dnsapi/README.md
2019-02-08 12:31:01 +03:00
Simon Wydooghe
ebc90f6ab8
Set NS1 DNS record TTL to 0
Default of a zone might be high, which is annoying when testing
with the ACME staging API. I think setting the TTL to 0 makes sense
as acme.sh is the only one checking this, so having an always up
to date response seems desirable.
2019-02-06 21:49:17 +01:00
Frank Laszlo
84d80e93bc Add support for Thermo, Nexcess, and Futurehosting DNS APIs 2019-02-06 10:42:11 -05:00
Sebastiaan Hoogeveen
b7e92dbced Documentation update. 2019-02-06 14:27:26 +01:00
Sebastiaan Hoogeveen
44dcb0d0a9 Make Travis happy; fixed formatting of return statements. 2019-02-06 11:46:47 +01:00
Sebastiaan Hoogeveen
b3e3e080a9 Cleaned up some of the comments from shellcheck. 2019-02-05 16:37:08 +01:00
Sebastiaan Hoogeveen
1167cdcaec Added DNS API support for NederHost (https://www.nederhost.nl/) 2019-02-05 16:32:41 +01:00
Oliver Dick
4eda39a31d making shellcheck happy 2019-02-04 15:40:45 +01:00
Oliver Dick
759b75ca48 better parsing of json responses
fixes an error if customer does not have access to dns-groups
2019-02-04 11:27:04 +01:00
neilpang
227547f826 fix https://github.com/Neilpang/acme.sh/pull/1979 2019-01-30 20:13:23 +08:00
neilpang
a964646803 fix https://github.com/Neilpang/acme.sh/issues/1364#issuecomment-458035330 2019-01-28 19:11:45 +08:00
neilpang
43877d2647 fix rm method to urlencode the existing txt records.
fix https://github.com/Neilpang/acme.sh/issues/2052
2019-01-26 20:27:53 +08:00
neilpang
cc6159b39b urlencode the existing txt record value
fix https://github.com/Neilpang/acme.sh/issues/2052
2019-01-26 19:15:13 +08:00
Tobias Mädel
75fe022f96 Changed order in readme, added do.de 2019-01-25 15:26:41 +01:00
Tobias Mädel
bc839569fb
Merge branch 'dev' into dev 2019-01-25 14:38:35 +01:00
neil
8dacd51abb
Merge pull request #1997 from MilanPala/master
Add support for Active24.cz
2019-01-25 21:33:42 +08:00
neil
06302871bc
Merge pull request #1543 from Rid/patch-2
Fix DNSimple when zone has > 100 records
2019-01-25 17:31:06 +08:00
Grant Millar
c1ec2afeca
Changed records per page to 5000 2019-01-25 09:27:30 +00:00
Tobias Mädel
e2f1338f94 Added documentation 2019-01-24 17:05:01 +01:00
Tobias Mädel
5f9b57d300 Cleaned up dns_doapi.sh 2019-01-24 17:00:37 +01:00
Tobias Mädel
ddf77f10e9 Cleaned up dns_doapi.sh 2019-01-24 16:59:36 +01:00
Tobias Mädel
127532c226 Added dns_doapi.sh 2019-01-24 16:53:03 +01:00
Milan Pála
572adbaad2 Add support for Active24.cz 2019-01-23 14:27:13 +01:00
Oliver Dick
b0775f7a58 making shftm really happy 2019-01-21 16:32:45 +01:00
Oliver Dick
2dc50e6633 making shfmt happy 2019-01-21 15:45:32 +01:00
Oliver Dick
56d70e4ea7 Update to latest API Changes 2019-01-21 15:02:09 +01:00
neil
0b934232fd
Merge pull request #2023 from jim-p/acme-fix-2022
Use cross-platform grep pattern for Namecheap API. Fixes #2022
2019-01-21 19:38:40 +08:00
jim-p
10ba2cd312 Use a literal space instead of an escaped space. Fixes #2022 2019-01-14 16:26:22 -05:00
Mike Barnes
cd3ef8fa5a Correct edits to README.md this time 2019-01-08 15:59:29 +11:00
Mike Barnes
72ce37704b Native PointHQ support 2019-01-08 15:59:29 +11:00
neil
4420d073bb
Merge pull request #1889 from apollo13/fix_inwx
Fix inwx account without Mobile TAN
2019-01-07 22:57:09 +08:00
neil
c544759d36
Merge pull request #2002 from Ivru/feature/exoscale
Exoscale DNS API
2019-01-03 21:42:42 +08:00
Ivru
3fb17c5de8 Merge branch 'dev' into feature/exoscale 2019-01-03 14:25:50 +01:00
hebbet
68d9aad3a2
add link to profile of Cloudflare
follow-up for #1893
2019-01-03 14:19:55 +01:00
neil
0aba1b4ad3
Merge pull request #1839 from sunflowerit/digitalocean-fix
Fixes on DigitalOcean implementation
2019-01-03 21:14:54 +08:00
neil
e12c7c8d27
Merge pull request #1890 from LLeny/master
Fixes Neilpang/acme.sh#1888
2019-01-03 21:09:45 +08:00
neil
83a040722e
Merge pull request #1994 from drott/add_rm_multiple_gandi
[dnsapi] Support adding / removing multiple TXT values for Gandi
2019-01-03 21:03:55 +08:00
neil
b7b504d43a
Merge pull request #1996 from Tigger2014/dev
dnsapi update dynu for api v2
2019-01-03 20:55:46 +08:00
neil
b18804f57f
Merge pull request #2001 from hosting-de/fix-issue-2000
hosting.de API: waiting for API zoneStatus active
2019-01-03 20:54:55 +08:00
Marton Szucs
40f0238bb7 fix dns_loopia wildcard certificate
Checks if a subdomain already exists before creating one. The loopia API clears all records for a subdomain when adding it again.

Adding TXT-records instead of updating the existing record when using the add method. Wildcard certificates require multiple TXT-records for the same subdomain. 

Now you can create wildcard certificates using:
 `acme.sh  --issue -d example.com  -d '*.example.com'  --dns dns_loopia`
Double quoting variables
2019-01-03 11:32:43 +01:00
Oliver Dick
089823785e Using _sleep() instead of sleep 2019-01-03 10:32:59 +01:00
Ivru
ecf7dded07 Fix typo 2019-01-03 08:39:51 +01:00
Oliver Dick
cd4f29135b waiting for API zoneStatus active 2019-01-02 16:44:11 +01:00
Ben Edmunds
68c5c366f4 dnsapi update dynu for api v2 2018-12-30 03:21:16 +00:00
Dominik Röttsches
29a5311ae0 [dnsapi] Support adding / removing multiple TXT values for Gandi
Gandi supports setting multiple entries by setting multiple array items
for the rrset_values field in their API. Modify the dns_gandi_livedns.sh
script so that it checks for existing entries, appends new ones if
needed, and removes existing ones individually. This enabled wildcard
certificate support on Gandi.

Fixes the dns_gandi_livedns part of #1261.

Tested for creating a multidomain, multiple wild-card certificate on
Gandi and using a test script executing only the dns_gandi_livedns_add
and dns_gandi_livedns_rm functions.
2018-12-29 10:54:21 +02:00
neilpang
7ba9a5972d revert fix for https://github.com/Neilpang/acme.sh/issues/1941
1. fix https://github.com/Neilpang/acme.sh/issues/1977
2. The cache is too long to as a line to save in the conf
2018-12-28 22:45:40 +08:00
Ketil
2671af13cd Bugfix for allowing '+' character in CloudFlare email 2018-12-27 15:17:19 +01:00
Ne-Lexa
b7b94e38ac support change account conf from env 2018-12-24 14:59:14 +03:00
Ne-Lexa
f90bf756fb Merge branch 'dev' of https://github.com/Neilpang/acme.sh into dev 2018-12-24 13:42:42 +03:00
Ne-Lexa
0b363a5c98 removed the _clearaccountconf() call for erroneous requests 2018-12-24 13:33:25 +03:00
neil
ebb1a8af1b
Merge pull request #1978 from Ivru/feature/exoscale
Feature/exoscale
2018-12-22 10:55:25 +08:00
Aaron W. Swenson
c8c1140f15 Linode API v4 Redo
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.
2018-12-20 11:01:34 -05:00
Aaron W. Swenson
9a473640fb Revert "Update Linode API to v4"
This reverts commit 9a27b38976.

Turns out, the Cloud Manager is not backward compatible, nor is the
Classic Manager forward compatible.
2018-12-20 11:00:10 -05:00
Ivru
405173a0b4 Remove extraneous blank lines 2018-12-20 16:37:11 +01:00
Ivru
8e43b86f06 Export header _H3 2018-12-20 16:30:02 +01:00
Ivru
eea9aaf940 Fix typos 2018-12-20 16:24:08 +01:00
Ivru
67d3e8d049 Add Exoscape API support for DNSAPI 2018-12-20 16:07:05 +01:00
Daniel F. Dickinson
1a77490969 dnsapi: Add option to set zone for nsupdate
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>
2018-12-13 01:55:43 -05:00
Daniel F. Dickinson
5431d05168 dnsapi nsupdate: Add nsupdate debug option
When debug is enabled, also use nsupdate's debug logging
so that the user can see potential issues with the nsupdate
transaction.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-12-13 01:55:00 -05:00
neil
a43545c6ea fix https://github.com/Neilpang/acme.sh/issues/1959 2018-12-11 19:11:56 +08:00
neil
7c1c36f043
Merge pull request #1944 from titanofold/dev
Update Linode API to v4
2018-12-04 21:44:46 +08:00
neil
565e3f75c7
Merge pull request #1947 from aalmenar/master
Neodigit.net DNS API
2018-12-04 21:40:37 +08:00
Adrian Almenar
842f030355 Revert change 2018-12-04 14:36:28 +01:00
Adrian Almenar
f4ad42bb84 Changes requested on commit review 2018-12-04 14:33:00 +01:00
Adrian Almenar
fb08b53f0b Add Neodigit.net DNS API 2018-12-03 18:42:33 +01:00