Commit Graph

1332 Commits

Author SHA1 Message Date
Adrian Fedoreanu
eef9a60037
add dns_1984hosting dns api 2020-04-10 23:34:00 +02:00
Wout
e158b5ccf6 Constellix made changes to their API. They added more search capabilities, but the changes are not backwards compatible. We need to use the exact parameter instead of name now. 2020-04-09 19:15:32 +02:00
neil
f03d7efb5e
Merge pull request #2845 from woutd/fix-constellix-domain-id
Fixes getting the correct domain id using Contellix API.
2020-04-09 20:21:50 +08:00
der-berni
da7b1fb014
cleanup according to styleguide / ShellCheck 2020-04-09 12:17:08 +02:00
Wout
62378d063e Fixes getting the correct domain id using Contellix API. 2020-04-07 22:34:05 +02:00
der-berni
5fac282ee0
Update to work with new one.com procedure
Since some Months, its no longer possible to add TXT Records with the Name "_acme-challenge" to the base domain.
To override the fallback value, you must use a CNAME and proxy it.
For example.
CNAME _acme-challenge.yourdomain.com => proxy_acme-challenge.yourdomain.com
The TXT Records have to be created on proxy_acme-challenge.yourdomain.com

Since the default CNAME TTL is 3600 seconds, it is recommended to leave the CNAME record.
But if you would like to use the build-in SSL (for your web-site etc.) from one.com, you have to delete the record.

A new variable "ONECOM_KeepCnameProxy" you can set in the account.conf is used to keep the CNAME record.
By default the CNAME record will be removed.

For ex.: SAVED_ONECOM_KeepCnameProxy='1'
to keep the CNAME Record and speedup the process.
2020-04-07 19:25:39 +02:00
neil
6eff873a07
Merge pull request #2783 from Blfrg/dns_me
dns_me id parse using only sed
2020-04-06 10:32:09 +08:00
aattww
c064b3896a Change command check to fully pass shellcheck 2020-04-06 01:13:59 +03:00
aattww
8400d1e60e Add bugs report link 2020-04-05 22:07:20 +03:00
aattww
5530e74382 Initial release 2020-04-05 21:57:37 +03:00
netpok
34cebe8c0c
Fix invalid domain error on dns_cf update
When dns_cf used with Zone ID it fails on removal of the entry.

This pull request adds the missing CF_Zone_ID loading.
2020-03-29 23:45:52 +02:00
Ehsan Aliakbar
200cd5972a fix shellcheck errors in Arvan Dns Api 2020-03-28 21:50:58 +04:30
neil
808d1af578
Merge pull request #2777 from ThiloGa/dev
add support for namemaster.de
2020-03-28 19:06:25 +08:00
neil
2be435ff32
Merge pull request #2802 from luoch/patch-1
update dns_dp.sh
2020-03-25 14:49:03 +08:00
罗诚
20ba820253
Update dns_dp.sh
https://dnsapi.cn has change the default language to cn other then en. So the api call need to add `lang=en` to url params for getting the english messages.
And, They also change the susccess message from "Action completed successful" to "Operation successful". Simply use "successful" as keyword will be fine.
2020-03-25 14:39:52 +08:00
Ehsan Aliakbar
4fa59ea04e Adding Arvan Dns Api 2020-03-24 17:56:50 +04:30
ThiloGa
bc2ed602e7 deleted txt entry routine by request of namemaster.de, entry is deleted automatically 2020-03-21 21:18:25 +01:00
ThiloGa
a1c4d159dd further shellcheck fixes 2020-03-21 19:48:17 +01:00
ThiloGa
598f29b78e doing shellcheck staff 2020-03-21 19:41:46 +01:00
ThiloGa
f61f2d6e5e adaptations to the new api functions
_get_root fully functional due to the extended api
2020-03-21 19:28:16 +01:00
Jeremiah
5d881a8b0f use more compatible regex flag 2020-03-09 11:34:50 -06:00
Jeremiah
c25b4ba099 dns_me id parse using only sed 2020-03-08 15:39:18 -06:00
neil
902c08e9c9 Merge branch 'dev' of https://github.com/acmesh-official/acme.sh into dev 2020-03-08 10:17:41 +08:00
neil
ea652c023e fix https://github.com/acmesh-official/acme.sh/issues/2778 2020-03-08 10:17:21 +08:00
ThiloGa
3c79bb77db fixing travis-ci warnings SC2086: Double quote to prevent globbing and word splitting. 2020-03-07 21:21:39 +01:00
ThiloGa
d8dbb85946 small fixes 2020-03-07 21:11:08 +01:00
ThiloGa
20702d26ec fixing https://github.com/koalaman/shellcheck/wiki/SC2181 problems 2020-03-07 21:05:42 +01:00
ThiloGa
7d7e9501fa fixing https://github.com/koalaman/shellcheck/wiki/SC2181 problems 2020-03-07 20:37:29 +01:00
ThiloGa
efef76d9cf fixed typo 2020-03-07 19:34:57 +01:00
ThiloGa
e1e1ee31f0 Dont use $? directly anymore 2020-03-07 16:00:52 +01:00
ThiloGa
142ca58d38 removed some unused Vars 2020-03-07 15:45:41 +01:00
ThiloGa
3b01bf7bda removed the probably last blank line 2020-03-07 15:33:21 +01:00
ThiloGa
30416f54d1 Fixes for Travis CI
-removing some blanks etc.
2020-03-07 15:18:25 +01:00
ThiloGa
f21ef0d2e9 add support for namemaster.de 2020-03-07 14:55:09 +01:00
neil
39ced21a6f
Merge pull request #2198 from pipedrive/Add-AWS_API-slowrate
Add aws api slowrate
2020-03-07 19:59:20 +08:00
Stephane Moser
b64f0ba83f Update usage of AWS_DNS_SLOWRATE 2020-02-24 23:14:40 +00:00
neil
887fa8649b
Merge pull request #2670 from sreyemnayr/fix-pfsense-linode
Fix pfsense linode
2020-02-22 13:41:19 +08:00
neil
f6172d7273
Merge pull request #2690 from nstepa/dns_yandex
Fix dns records removing after usage.
2020-02-22 13:39:04 +08:00
neil
80ca6de531
Merge pull request #2728 from artooro/master
add support for using a Zone ID
2020-02-22 13:28:37 +08:00
Arthur Wiebe
d43227ede4
fix shellcheck issues 2020-02-11 13:07:10 -05:00
neil
da656caf1e
Merge pull request #2726 from Blfrg/dns_me
fix #2031 dns_me id parse
2020-02-11 19:09:38 +08:00
neil
7a30cb9de7
Merge branch 'dev' into all-inkl-kasserver-dns-script 2020-02-11 19:07:20 +08:00
Arthur Wiebe
719b690451
add support for using a Zone ID 2020-02-10 10:22:55 -05:00
neil
3cdc523dec
Merge pull request #2628 from woutd/master
Add DNS API support for Constellix
2020-02-10 22:27:05 +08:00
Blfrg
eb49127b9e
improve id parse
Locate only the outer most "id" property
2020-02-09 14:50:29 -06:00
Wout
cc4bce283f Merge branch 'master' of git://github.com/acmesh-official/acme.sh 2020-02-09 10:13:17 +01:00
Blfrg
8189a34d14
fix dns_me id parse
The API seems to have changed and the ID is no longer in the same location.
2020-02-08 16:43:23 -06:00
Wout
2cc50a2b65 Cosmetic fixes. 2020-02-08 12:27:19 +01:00
neil
8e6c4e1aca
Merge pull request #2481 from blablup/OPNsense_dns
Add OPNsense Bind API Support
2020-01-31 16:37:31 +08:00
neil
4b45973361
Merge pull request #2470 from StefanAbl/master
DNS Api for dynv6
2020-01-31 16:30:51 +08:00
neil
4c27e08e3d
Merge pull request #2692 from helbgd/patch-7
fix for ddnss.de updates
2020-01-31 16:29:16 +08:00
neilpang
d795fac37a update repo name 2020-01-30 12:06:39 +08:00
Marco4223
6613ae57b0 Update dns_kas.sh
sleep 10 to _sleep 10
2020-01-23 19:20:44 +01:00
Radek SPRTA
5c7feba77b
Format with shfmt 2020-01-22 05:33:46 +01:00
Radek SPRTA
23f2677052
Do not print HTTP responses to stdout 2020-01-22 02:53:50 +01:00
Radek SPRTA
6b67511748
Disable check 2020-01-22 02:03:11 +01:00
Radek SPRTA
36e0feea43
Clean up comments 2020-01-22 01:59:40 +01:00
Radek SPRTA
69392f67e8
Correctly handle .co.uk type domains 2020-01-22 01:33:15 +01:00
Radek SPRTA
e7d130cc11
Add support for CloudDNS API 2020-01-21 06:36:31 +01:00
StefanAbl
6e3ba3ca45 travis 2020-01-18 13:53:26 +01:00
StefanAbl
0f54cf83f4 fixed dynv6 dns validation 2020-01-18 13:48:29 +01:00
Marco4223
431c53efcf Update dns_kas.sh
Removing spaces in empty lines
2020-01-15 17:48:30 +01:00
Marco4223
024619676b Update dns_kas.sh
fixing 4 Travis style
2020-01-15 13:56:01 +01:00
neil
5aa0f547cf
Merge pull request #2691 from astorath/fix/dns_gcloud_private_zone
fix: added public dns zones filter
2020-01-14 22:28:17 +08:00
helbgd
b1ce6ffcc7
www is incorrect as well
use ip4 and not www, if you use www it deletes the ip4 address of the host and updates only the ip6 address
2020-01-14 15:27:35 +01:00
helbgd
f01936ca4f
Server Name not correct
the servername of the server that has the upd.php file was not correct
2020-01-14 15:19:37 +01:00
Andrey Tuzhilin
70fdb1042f fix: added public dns zones filter 2020-01-14 15:55:44 +03:00
Nick Stepa
4eff3b6a24 Change error to info in case record already exists. 2020-01-12 15:16:48 +01:00
Nick Stepa
e5f69f0815 Fix indentation. 2020-01-12 14:07:49 +01:00
Nick Stepa
ef7b51beb7 Remove local keyword. 2020-01-12 13:54:18 +01:00
Nick Stepa
8494ac8f3d Fix dns records removing after usage. 2020-01-12 13:29:09 +01:00
neil
c7ccddbcb9
Merge pull request #2678 from Sergey-Zorin/issue2547-throw-nic_token
Issue2547 throw nic token
2020-01-09 22:06:55 +08:00
Sergey Zorin
efd3e8067b remove -F option 2020-01-09 17:05:18 +03:00
neil
c6f7b7f35f
Merge pull request #2671 from Rayzilt/master
dns_lexicon.sh: Add extra variable _API_KEY
2020-01-07 09:10:39 +08:00
Sergey Zorin
f3dd1603db fix CI warnings v3 2020-01-07 01:11:43 +03:00
Sergey Zorin
be7688a4df fix CI warnings SC2039 v2 2020-01-07 01:05:50 +03:00
Sergey Zorin
8e2f11389d fix CI warnings SC2039 2020-01-07 00:49:13 +03:00
Sergey Zorin
346454c21b fix CI warnings 2020-01-07 00:26:44 +03:00
Sergey Zorin
c822870cf8 comment cleaning 2020-01-06 23:52:11 +03:00
Sergey Zorin
9666cf680e #2547 fix multiply _service selection 2020-01-06 23:42:08 +03:00
Sergey Zorin
a88622c1be #2547 replace NIC_Token to NIC_ClientID&NIC_ClientSecret with backward compatibility 2020-01-06 23:39:15 +03:00
neilpang
c3fbc36ce7 fix https://github.com/Neilpang/acme.sh/issues/2547#issuecomment-570963981 2020-01-06 20:57:12 +08:00
Silvan Raijer
f174d7dd39
dns_lexicon.sh: Add extra variable _API_KEY 2020-01-05 15:27:04 +01:00
Ryan Meyers
38a8721a91 Escape opening brackets 2020-01-04 10:52:52 -06:00
Ryan Meyers
8aedf26a87 Replace \s with hard space 2020-01-04 10:51:32 -06:00
Marco4223
8dd1df71cc Update dns_kas.sh
tested and works now
2020-01-02 17:10:36 +01:00
Tambet Liiv
b59b0f0386 use different method to get root 2020-01-02 14:55:36 +02:00
Marco4223
2214507db0 Revert "Update dns_kas.sh"
This reverts commit 99c47dd50a.
2019-12-29 10:59:28 +01:00
Marco4223
a138425417 Update dns_kas.sh
sorry for this commit.  ;)
Fix NewBeMistakes
2019-12-28 23:42:46 +01:00
Marco4223
99c47dd50a Update dns_kas.sh
only bash needed
2019-12-28 22:42:51 +01:00
Marco4223
594b83e7a6 Update dns_kas.sh
remove "rev" command
fix "Error removing txt for domain:_acme-challenge.foo"
2019-12-28 11:58:21 +01:00
neil
76d0ef0851
Merge pull request #2650 from wurzelpanzer/master
Add easyDNS support
2019-12-24 18:31:43 +08:00
wurzelpanzer
549ebbb462
Add easyDNS support 2019-12-21 20:19:02 +01:00
neil
341656ddb9
Merge pull request #2631 from misakaio/add-misaka-support
add acme.sh support for misaka.io dns service
2019-12-19 21:48:16 +08:00
Siyuan Miao
375b8dceb7 use append mode to update recordsets 2019-12-14 10:44:57 +08:00
Siyuan Miao
f37546e173 add acme.sh support for misaka.io dns service 2019-12-13 18:46:09 +08:00
Martin Kammerlander
239d53426a Merge remote-tracking branch 'upstream/dev' into all-inkl-kasserver-dns-script 2019-12-12 16:36:41 +01:00
Martin Kammerlander
3ccac629bc Change the loop for sh. 2019-12-12 16:23:42 +01:00
Wout
e8e6feeb0f Use different e-mail. 2019-12-11 17:15:35 +01:00
Wout
c22705a593 Add DNS API support for Constellix. 2019-12-11 17:13:11 +01:00
Gustav Genberg
0ffd5de6fc
Fix add record error 2019-12-08 00:13:30 +01:00
Martin Kammerlander
953a9b1768 Remove obsolete blank. 2019-11-29 22:51:23 +01:00
Martin Kammerlander
c641b61b26 Fix a few snytax issues 2019-11-29 22:46:44 +01:00
Martin Kammerlander
d87e507865 Merge remote-tracking branch 'upstream/dev' into all-inkl-kasserver-dns-script 2019-11-29 22:27:11 +01:00
Martin Kammerlander
ec1f9841b2 Replace grep -A. 2019-11-29 22:22:26 +01:00
Stephane Moser
37978b4fe5 Merge branch 'dev' into Add-AWS_API-slowrate 2019-11-22 10:20:25 +00:00
neilpang
c282dd086f minor 2019-11-16 08:06:21 +08:00
neil
ce0c6da9fa
Merge pull request #2562 from stilez/master
Create DNS 01 module for Plesk XML API
2019-11-12 15:38:45 +08:00
Martin Kammerlander
e22c5ea800 Merge with Neilpang dev repo. 2019-11-10 17:39:56 +01:00
Jesai Langenbach
9cb328966c typo 2019-11-08 08:58:51 +01:00
Jesai Langenbach
0c76890572 whitespace fix 2019-11-08 08:52:10 +01:00
Jesai Langenbach
18fc42e63b typos and integrate suggestions from stilez 2019-11-07 22:06:32 +01:00
Jesai Langenbach
fc8d9df516 fix newline 2019-11-07 14:33:38 +01:00
Jesai Langenbach
afdf8a78c0 fix space 2019-11-07 14:18:09 +01:00
Jesai Langenbach
0b3ae1f972 Add suggestions 2019-11-07 14:10:30 +01:00
stilez
51cfd996eb
rmv space 2019-11-05 23:29:51 +00:00
stilez
6d0e4bed4b
remove \n in output messages 2019-11-05 23:26:05 +00:00
stilez
05247dc4a4
fix 2019-11-05 21:09:14 +00:00
stilez
43011f3bfa
enhance 2019-11-05 21:04:10 +00:00
stilez
38854bd876
bugfix 2019-11-05 21:00:34 +00:00
stilez
a9726bd52f
bugfix 2019-11-05 20:58:51 +00:00
stilez
4216c9e8f7
rmv spaces 2019-11-05 19:19:08 +00:00
stilez
a8d670fc0d
Rest of sed -r 2019-11-05 19:01:32 +00:00
stilez
cbacc779fc
Fix some sed -r, and clean up some variable references ("$1" -> "$varname") 2019-11-05 18:50:39 +00:00
stilez
896778cead
Grep fixes and minor improvements 2019-11-05 17:56:20 +00:00
stilez
04b0c62bf9
basic regex's to use \+
Maybe BRE aren't as basic as they sound. But I'm sure `man grep` didn't list the extra syntax of "preceded by backslash" :)  So let's use it
2019-11-04 19:05:44 +00:00
stilez
63a779baa8
remove unnecessary \ 2019-11-04 18:44:14 +00:00
stilez
2d1a776db7
Replace egrep -> basic regex grep
(( ... isn't it annoying that basic regex has * but not + ..... ))
2019-11-04 18:40:12 +00:00
neil
6140a3c26b
Merge pull request #1925 from kuk/master
Fix Vscale hostedzone
2019-11-03 19:38:35 +08:00
Kukushkin Alexander
6eaf2d67b7 Fix Vscale 2019-11-03 07:21:16 +03:00
neil
3ec495225f
Merge pull request #2563 from peterkelm/peterkelm-variomedia-dns
Variomedia DNS API
2019-11-02 08:32:02 +08:00
peterkelm
bec26ce754
Shellcheck'd 2019-10-31 09:03:35 +01:00
stilez
343d7df57c
shellcheck directive 2019-10-30 22:11:16 +00:00
peterkelm
dca6a4bbd5
minor formatting changes 2019-10-30 20:51:16 +01:00
stilez
a32b95544b
[[:space:]] -> " " 2019-10-30 17:06:03 +00:00
stilez
2422e0b481
grep -E and sed -E 2019-10-30 17:01:06 +00:00
stilez
3441bd0e7c
improve _err message and remove a dubious _debug message. 2019-10-30 10:22:04 +00:00
stilez
05ced9fbc4
edit a comment 2019-10-30 09:53:40 +00:00
stilez
b7c3df455e
travis fix 2019-10-30 09:38:03 +00:00
stilez
d7affad059
various small improves 2019-10-29 10:30:00 +00:00
neil
34c3da9117
Merge pull request #2560 from scottkof/aws-dns-avoid-throttle
Avoid API throttling errors in AWS DNS plugin
2019-10-28 22:42:21 +08:00
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