Commit Graph

2104 Commits (master)

Author SHA1 Message Date
Lifeboy 02fb40c507 Syntax corrections, previous change broke script 2024-09-02 14:56:00 +02:00
Lifeboy dc6ea97877 Syntax corrections, previous change broke script 2024-09-02 14:54:22 +02:00
Lifeboy 031d53b04f Syntax corrections suggested by testing script 2024-09-02 12:14:22 +02:00
Lifeboy 3006c90fb8 Syntax corrections suggested by testing script 2024-09-02 12:04:56 +02:00
Lifeboy 9cec2688ed Syntax corrections suggested by testing script 2024-09-02 11:58:27 +02:00
Lifeboy 65c3dc21f4 Added comments 2024-09-02 11:50:33 +02:00
Lifeboy fab292d2de correct a typo 2024-08-27 17:06:36 +02:00
i18n.site 00bbe68f78
Update dns_huaweicloud.sh
fix https://github.com/acmesh-official/acme.sh/issues/5261
2024-08-23 16:00:08 +08:00
Lifeboy fa3591f4f2 TXT record ADD test successfully 2024-08-22 14:39:09 +02:00
Nikolay Pronchev 10cfc6838d
add Timeweb Cloud DNS API 2024-08-22 09:12:21 +03:00
Lifeboy 42e78f9a3e changes not yet tested 2024-08-21 15:42:49 +02:00
Roland Giesler 0122eabd44
Update dns_miab.sh
Corrected typo
2024-08-21 15:10:37 +02:00
Roland Giesler 435bb3f1d3
Update dns_miab.sh
The MIAB API requires that the txtvlaue to a TXT record includes the "value=" and "ttl=" components as part of the TXT record when adding a new record.
2024-08-21 12:13:04 +02:00
WhiteAls 1700f064b3 Fix: Support for IDN 2024-08-03 18:59:29 +00:00
WhiteAls 2f08bd1965 Refactor: Improve Yandex360 DNS API integration:
- Make YANDEX360_ORG_ID optional and auto-retrieve if not provided.
- Refactor _get_root function to search across multiple organizations.
2024-08-01 03:28:32 +00:00
WhiteAls 13c68cd799 Refactor: Rename _check_yandex360_variables to _check_variables and improve error handling 2024-08-01 03:04:23 +00:00
WhiteAls c7d78f4594 Fix: Corrected the entry point for Yandex 360 API 2024-08-01 02:44:22 +00:00
WhiteAls 2f1ca949f0 Fix: Make record_id extraction independent of JSON key order 2024-08-01 02:33:09 +00:00
WhiteAls a6488ff9ac Optimizing debug output 2024-08-01 02:18:48 +00:00
Mickael cb5eae888d
Update dns_ispconfig.sh
Add permissions to:
- Client functions
- DNS zone functions
2024-07-31 16:22:12 +02:00
gmanic bcb7e5f2c8
Update dns_nsupdate.sh
Corrected required variable double quote
2024-07-24 20:28:39 +00:00
Felix Schmidt dd582c0306 Changed the direct call of `tr` to cast to lower case to the function
`_lower_case` which is already provided.
2024-07-23 12:59:42 +02:00
IIIPr0t0typ3III 0a64567822
Merge branch 'acmesh-official:dev' into dev 2024-07-22 15:47:54 +02:00
WhiteAls 7ca861805d Fixed incorrect links in informational messages 2024-07-20 19:03:38 +03:00
WhiteAls f84577bcda Support for the Yandex 360 for Business DNS API 2024-07-20 05:41:54 +03:00
WhiteAls 37f9fd3498 The old Yandex DNS API was discontinued #4555 2024-07-20 05:38:51 +03:00
allddd 7ae0d0caa3 dns_porkbun: remove stray backslashes 2024-07-18 21:57:22 +02:00
Felix Schmidt ab86e056a2 Changed A-Z and a-z to [:upper:] and [:lower:] from last commit to comply with requested standards.
This does not change any functionality in this special case but the
request for [:upper:] and [:lower:] makes a lot of sense in general.
2024-07-07 13:02:47 +02:00
Felix Schmidt a2bc79ddd5 Fixed a bug where trying to add entries where the fulldomain contains upper case characters would not be accepted (dynv6 API rejects those).
Now the fulldomain will be cast to lowercase first which should not make
any difference since DNS is case insensitive.
2024-07-07 12:34:44 +02:00
IIIPr0t0typ3III 5789e80d74
Fixed a bug where the zone_id was corrupted for domains containing the string 'id' dns_dynv6.sh
This will now search for `"id:"` instead of `id` and therefore will only find the id field and not any other field containing the sub-string 'id'
2024-07-05 18:43:11 +02:00
René Weselowski 89586530a5 improve performance and memory usage for dns_anx
when fetching all zones the memory usage can exceede limits and also
cause timeouts.

with this change the zone will be searched via the longest to shortest
match using the get endpoint.
2024-06-26 15:06:19 +02:00
WinSCaP 617f4acfd6
Update dns_openprovider.sh for OpenProvider
Removed the NS type, as settings nameservers via API is no longer supported.  The API implementation is not changed to the new REST API.
2024-06-22 11:37:10 +02:00
neil f7f8ea9b97
Merge pull request #5110 from ionos-cloud/add_ionos_cloud_script
Feature: DNS API for IONOS cloud
2024-06-15 14:50:32 +02:00
neil 58cad98cd8
Merge pull request #5041 from j-c-m/ksh_openbsd_porkbun_fix
Quote echo $data in _porkbun_rest (dns_porkbun)
2024-06-15 14:45:19 +02:00
Vinicius Mello 2f8fb360aa fix CI reported problems for shellcheck and shfmt
fix minor problems reported by shellcheck and shfmt
2024-06-12 15:03:02 -03:00
Vinicius Mello 05ec3922f1 minor wording fix
minor fix for text coherence
2024-06-11 17:17:37 -03:00
Vinicius Mello 1c9423ef31 fix pagination bug querying Linode API v4
fixes issue #4956

previous code only worked for the first 10 domains on the account (as Linode
API returned a paginated response, with only 10 records).

This change makes an exact search query for each subdomain, completely removing any
need for walking through paginated responses. What makes it work for large
accounts with any number of domains.
2024-06-11 12:50:45 -03:00
zak905 74ffbb2172
fix forgotten parenthensis 2024-06-10 19:53:05 +02:00
zak905 cc9c85cc1a
use lower_case util function instead of raw bash command 2024-06-09 21:02:54 +02:00
neil a8f252e45d
Merge pull request #5057 from phedoreanu/dev
dns_1984.hosting - update _get_root check
2024-05-28 09:27:30 +02:00
Henrik Alves b821836dc4
update dns_doapi 2024-05-27 12:45:01 +02:00
Sergey Ponomarev 6b7b5caf54 DNS provider API: structured description
Instead of using comments declare info in a special variable.
Then the variable can be used to print the DNS API provider usage.
The usage can be parsed on UI and show all needed inputs for options.

The info is stored in plain string that it's both human-readable and easy to parse:

    dns_example_info='API name
     An extended description.
     Multiline.
    Domains: list of alternative domains to find
    Site: the dns provider website e.g. example.com
    Docs: Link to ACME.sh wiki for the provider
    Options:
     VARIABLE1 Title for the option1.
     VARIABLE2 Title for the option2. Default "default value".
     VARIABLE3 Title for the option3. Description to show on UI. Optional.
    Issues: Link to a support ticket on https://github.com/acmesh-official/acme.sh
    Author: First Lastname <authoremail@example.com>, Another Author <https://github.com/example>;
    '

Here:
VARIABLE1 will be required.
VARIABLE2 will be required too but will be populated with a "default value".
VARIABLE3 is optional and can be empty.

A DNS provider may have alternative options like CloudFlare may use API KEY or API Token.
You can use a second section OptionsAlt: section.

Some providers may have alternative names or domains e.g. Aliyun and AlibabaCloud.
Add them to Domains: section.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-18 12:06:41 +03:00
Marvin Dickhaus fd461fe015
Fix missing XML Escaping in Password String
Fixes #5060
2024-05-16 22:44:47 +02:00
zak905 2797d2c535
fix add and rm method names 2024-05-14 19:50:44 +02:00
zak905 f440656572
create new script for ionos cloud and rollback changes to dns_ionos.sh 2024-05-14 18:35:25 +02:00
zak905 373c2b379c
remove debug print statements and usage of custom fork of acmetest 2024-05-06 14:53:51 +02:00
zak905 52d1d421a3
escape brackets in regexp and format using shfmt 2024-05-03 17:04:49 +02:00
zak905 c3cc13595d
use posix compliant lower case shell command 2024-05-02 18:48:39 +02:00
zak905 adc8031e34
fix shell linter and formating 2024-04-30 17:04:24 +02:00
zak905 0974c74a89 transform record name to lower case when searching for TXT record 2024-04-30 16:59:02 +02:00
zak905 c64aae6f39 more debugging - add function argument printing 2024-04-30 16:59:02 +02:00
zak905 b7b1714637 add some debug statements 2024-04-30 16:59:02 +02:00
zak905 30d0945855 fix regexp for findind acme challenge record from API response 2024-04-30 16:59:02 +02:00
zak905 ffde1f8343 linting based on ShellCheck results 2024-04-30 16:59:02 +02:00
zak905 96c35b41ed fix TXT record lookup and removal 2024-04-30 16:59:02 +02:00
zak905 dc2979926f fix zone search 2024-04-30 16:59:02 +02:00
zak905 ff357dd3fb fix syntax error 2024-04-30 16:59:02 +02:00
zak905 f35e15204d implement dns_ionos_rm function 2024-04-30 16:59:02 +02:00
zak905 3ae4ba3300 dns_ionos.sh: implement dns_ionos_add for ionos cloud 2024-04-30 16:59:02 +02:00
neil e7cfde1904
Merge pull request #5049 from hknet/patch-2
fixed handling of key and secret
2024-04-29 20:14:01 +02:00
alviy aa41df4e7d
run test 2024-04-27 13:49:37 +03:00
alviy d73953af3d
spellcheck 2024-04-27 12:28:06 +03:00
alviy 54eec82311
spellcheck 2024-04-27 11:45:14 +03:00
alviy dab244ad25
shfmt 2024-04-27 11:29:30 +03:00
alviy dbe7cb8dbb
remove rev command 2024-04-27 09:55:38 +03:00
alviy e814cccc44
Update dns_alviy.sh 2024-04-27 00:06:22 +03:00
alviy 1078fdc157
fix Shellcheck 2024-04-26 23:25:38 +03:00
alviy 4bf4259dda
Update _get_root logic 2024-04-26 23:05:42 +03:00
alviy 03b53cbb60
run DNS test 2024-04-26 20:38:01 +03:00
alviy 7ef1340e2a
Update dns_alviy.sh 2024-04-25 23:16:11 +03:00
alviy c0b87adee5
shfmt 2024-04-25 22:51:32 +03:00
alviy 4a8c2251e0
4th+ level domain 2024-04-25 22:47:53 +03:00
alviy d1df5f3021
test DNS 2024-04-25 22:36:11 +03:00
alviy e1acea52f8
run DNS test 2024-04-25 22:27:04 +03:00
alviy 2e9f159225
shfmt 2024-04-25 22:15:16 +03:00
alviy 2fcda9a73a
Quotes recomendations 2024-04-25 22:07:29 +03:00
alviy 78ba205f4d
DNS test init 2024-04-25 19:37:49 +03:00
alviy f44dec2c8d
add new provider - Alviy.com 2024-04-25 18:43:35 +03:00
neil 84795ff4d9
Merge pull request #4757 from laraveluser/master
Add support for Lima-City
2024-03-31 20:20:29 +02:00
laraveluser c8604255e4
Merge branch 'acmesh-official:master' into master 2024-03-27 21:47:09 +01:00
Adrian Fedoreanu 5e64781d65
update _get_root check 2024-03-19 19:41:33 +01:00
neil d2481f5790
Merge pull request #5048 from hknet/patch-1
dns-record TTL set to 300
2024-03-18 21:25:35 +01:00
Tim Dery e3cd52cab4 Merge branch 'dev' into aws_dns_imdsv2 2024-03-13 11:06:52 -07:00
Tim Dery b2c6b9a320 attempt _use_metadata fix from j-c-m 2024-03-11 10:33:14 -07:00
Harald Kapper 39fa40ab12
fixed secret+key storage-usage
fixed the key and secret handling via acme account.conf
2024-03-11 03:27:17 +01:00
Harald Kapper 0bf87bf4af
dns-record TTL set to 300
reduce TTL for the TXT record from 3600 to 300 to have an easier way to replicate changes for the dns-verification in case multiple submissions for a specific record/domain are done within an hour.
2024-03-11 00:44:53 +01:00
Jesse Miller 92d37f6eaf Quote echo $data in _porkbun_rest
Quote echo $data in _porkbun_rest to avoid
brace expansion under ksh (OpenBSD).
2024-03-06 15:56:42 -07:00
laraveluser d3b022fe17
Update dns_limacity.sh 2024-03-03 10:32:21 +01:00
Tim Dery 48e4e41e05 add cr to force a new gh actions run 2024-01-31 17:32:56 -08:00
Tim Dery 22374b81de delete a cr to force a workflow run 2024-01-31 16:02:45 -08:00
Tim Dery b9157e29cb spacing cleanup 2024-01-31 15:52:59 -08:00
Tim Dery bd247c35f2 remove comments 2024-01-31 15:48:44 -08:00
Tim Dery 7da9a45c61 combined functions for cleaner code 2024-01-31 15:39:08 -08:00
Tim Dery 122dfa12ac add imdsv2 support to dns_aws 2024-01-30 15:51:55 -08:00
Robert bfb41ce123 Fix acmesh-official#4836 (Switch to new Gandi LiveDNS API)
1. Updated LiveDNS API URL for the new API to allow Personal Access Tokens to work
2. Updated authorization header syntax to allow deprecated API Keys to work with the new API
3. Removed white space in JSON response parsing to match responses returned by the server
2024-01-13 13:39:09 -06:00
laraveluser 9e073c954d
Update dns_limacity.sh 2024-01-12 20:39:44 +01:00
laraveluser ad5acb80fe
Update dns_limacity.sh 2024-01-12 20:33:01 +01:00
laraveluser 7b7c834b08
Update dns_limacity.sh 2024-01-12 19:48:14 +01:00
laraveluser 42827be7c3
Update dns_limacity.sh 2024-01-12 18:39:28 +01:00
laraveluser 7022d27b8e
Update dns_limacity.sh 2024-01-12 17:58:54 +01:00
laraveluser ab911f1ce9
Update dns_limacity.sh 2024-01-12 17:54:23 +01:00
laraveluser a6a1de50c8
Merge branch 'acmesh-official:master' into master 2024-01-12 01:07:07 +01:00
laraveluser 97723fbbc9
Update dns_limacity.sh 2024-01-08 01:45:34 +01:00
neil 9786dccdee
Merge pull request #4161 from seidler2547/seidler2547-remove-do
remove dns_do as it does not work anymore
2024-01-02 20:34:15 +01:00
neil 179c80ae6d
Merge pull request #4861 from mrbaiwei/master
support West.cn Domain
2023-12-04 09:35:18 +01:00
neil 6e72f161a6
Merge pull request #4872 from sandercox/patch-1
Update dns_gcloud.sh rm logs record added
2023-12-03 14:52:58 +01:00
Sander Cox 074cf00a7c
Update dns_gcloud.sh rm logs record added
The logs show record was added twice but the second time was actual the rm command thus the removal of the record!
2023-11-14 11:28:24 +01:00
Adrian Fedoreanu 15d10eeebc
dns_1984.hosting.sh: update login and account status URLs 2023-11-10 08:22:28 +01:00
mrbaiwei bea71f3411 Update dns_west_cn.sh
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
2023-11-07 07:20:25 +08:00
mrbaiwei eb99803b53 Update west.cn domain api
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
2023-11-06 13:18:36 +08:00
mrbaiwei a60d0c4108 Update dns_west_cn.sh
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
2023-11-06 11:25:09 +08:00
mrbaiwei feffbba6de Update dns_west.sh
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
2023-11-04 14:16:11 +08:00
mrbaiwei 6ea09444ec Update dns_west.sh
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
2023-11-04 00:04:05 +08:00
neil f1f486dacf
Merge pull request #4843 from trulyliu/dev
Fix https://github.com/acmesh-official/acme.sh/issues/4460
2023-11-03 15:57:49 +01:00
mrbaiwei 5342c7c82b support West.cn Domain
Signed-off-by: mrbaiwei <mrbaiwei@gmail.com>
2023-11-03 18:14:26 +08:00
Matthew Robinson 8454ffa331 Fix issue with similar domain names causing an error in selecting the proper root domain to add challenge records in 2023-11-02 08:30:44 -07:00
Gavin Leo 199977be6a Fix https://github.com/acmesh-official/acme.sh/issues/4460
Update gcore API url.
2023-11-02 09:27:14 +08:00
neil 8565a853a8
Merge pull request #4787 from TobiasGrave/fix_variomedia_api
Fix Variomedia API
2023-09-15 09:07:24 +08:00
Tobias Grave dfd49e46ad Fix root zone determination for Variomedia API 2023-09-14 09:25:45 +02:00
neil 73bbaced62
Merge pull request #4782 from KincaidYang/KincaidYang-patch-4
Add TencentCloud API
2023-09-13 21:13:33 +08:00
neil 1a90f66f73
Merge pull request #4794 from zbbfufu/feature/gandi-replace-apikey-by-personal-token
dns_gandi: implements token in addition to the (deprecated) API key
2023-09-13 18:02:12 +08:00
Julien Furgerot 558e706bde fix ci errors (shellcheck & shfmt) 2023-09-12 15:54:44 +02:00
Julien Furgerot 1a08be0a3f dns_gandi: implements personal access token in addition to the (deprecated) API key 2023-09-12 09:48:09 +02:00
Tobias Grave ae4c186f55 Fix Variomedia API 2023-09-07 08:40:46 +02:00
KincaidYang af534a73fc
移除部分敏感debug信息 2023-09-06 13:09:52 +08:00
KincaidYang 772bbdc862
Replace some functions 2023-09-06 12:57:19 +08:00
neil 86521ec443
Merge pull request #4754 from LJea/master
Improved api compatibility with devices
2023-09-04 15:55:04 +08:00
KincaidYang e3c4c9265d
Replace some functions. 2023-09-03 21:21:05 +08:00
KincaidYang b3f8612e61
Following Neilpang's suggestions and project standards, replace some functions. 2023-09-03 01:31:57 +08:00
LJea 27b1dd04c4
improve the compatibility
Fixed an issue where some embedded devices could not obtain nanoseconds resulting in abnormal parameter coding
2023-09-03 01:02:16 +09:00
neil 46a876445f
Merge pull request #3959 from Eagle3386/master
Add ArtFiles.de DNS API plugin
2023-09-02 22:39:00 +08:00
KincaidYang 3abcfd8fa9
Add dns_tencent.sh
Adapt to Tencent Cloud (DNSPod) API 3.0
2023-09-02 18:47:59 +08:00
laraveluser ef20a0128f
Add support for Lima-City 2023-08-25 17:22:20 +02:00
neil 3039e4eb6d
Merge pull request #4755 from glocknerc/master-1
Master 1
2023-08-24 09:19:57 +08:00
glocknerc 9143cd1485
Change grep to be case-insensitive when looking for Set-Cookie header since INWX change casing to lowercase 2023-08-23 14:07:07 +02:00
neil b384a24c0e
Merge pull request #4710 from zearan/patch-1
Fix the API calls that get the list of domains that PLESK can manage
2023-07-30 21:19:23 +08:00
Martin Arndt 66a68edbe6
Merge branch 'acmesh-official:master' into master 2023-07-30 14:56:31 +02:00
neil dcf3d7234e
Merge pull request #4712 from samuel-jimenez/dev
Add DNSExit.com API support
2023-07-30 11:32:03 +08:00
Malte Rabenseifner 3b7be478aa
Fix stuff from tests
ShellCheck tests have brought up a couple of issues, that I was not aware of needed to be taken care. This should fix the tests.
2023-07-29 11:27:33 +02:00
Martin Arndt 80006f4730
Added bug report url 2023-07-29 10:26:59 +02:00
neil c42ed9c693
Merge pull request #4714 from hknet/master
Update dns_kappernet.sh
2023-07-28 10:41:56 +08:00
Harald Kapper c48c8d07de
Update dns_kappernet.sh
dns update waiting time is reduced now (new backend at kapper.net)
2023-07-27 21:49:23 +02:00
samuel 4d4b6edbc2 Add DNSExit.com API support 2023-07-26 10:40:44 -05:00
Malte Rabenseifner 2014ca9feb
Fix the API calls that get the list of domains that PLESK can manage 2023-07-26 15:36:11 +02:00
Martin Arndt 0afb0f7958
Merge branch 'acmesh-official:dev' into dev 2023-07-15 19:19:31 +02:00
Arnaud Launay ee50f254df Add BookMyName API support 2023-07-09 20:08:10 +02:00
Arnaud Launay cc0be6cd90
Merge branch 'acmesh-official:dev' into dev 2023-07-09 20:00:52 +02:00
Martin Arndt 8b3acb719e
Fix TXT record removal 2023-07-05 13:04:08 +02:00
Martin Arndt 2961a90e7f
Make ShellCheck & ShellFormat happy 2023-07-05 11:14:49 +02:00
Martin Arndt db8a2d0c65
Fix & improve DNS API for ArtFiles.de 2023-07-05 11:05:06 +02:00