Commit Graph

2088 Commits (75b4bb306b7967dd480f70ef7e2d61947adabe98)

Author SHA1 Message Date
neil e036eea362
Merge pull request #5158 from henrikalves/dode
update dns_doapi
2024-09-21 17:29:26 +02:00
neil 2044d633e9
Merge pull request #5183 from WinSCaP/patch-1
Update dns_openprovider.sh for OpenProvider
2024-09-21 17:24:53 +02:00
neil 8cb684e6bd fix https://github.com/acmesh-official/acme.sh/issues/5067 2024-09-21 17:11:17 +02:00
neil ad44c87746
Merge pull request #5296 from nikolaypronchev/master
Fix Timeweb Cloud DNS API pagination
2024-09-21 13:03:21 +02:00
Nikolay Pronchev 45ea2f82ba
explicitly reset *_return variables 2024-09-20 15:14:30 +00:00
Nikolay Pronchev df6aa99ec2
fix Timeweb Cloud DNS API pagination 2024-09-20 14:00:44 +00:00
stbeldarborge 1029dd3504
fix format 2024-09-20 15:44:50 +02:00
PMExtra 2ea37e6a0d refactor(ali): check the result of prepare_ali_credentials 2024-09-20 14:55:33 +08:00
PMExtra 610bb2b85c refactor(ali): set API endpoint for each action 2024-09-19 16:30:04 +08:00
PMExtra fca6e9b932 refactor: Alibaba Cloud API 2024-09-19 15:49:42 +08:00
Frank Wall 9ecd84080b resolve shellcheck offenses
With nsupdate the rule seems to be: filenames need to be wrapped
in double quotes, while all other options must not use double quotes.
Hence there is no way to resolve the shellcheck offense, because
the key requires quotes, but the other options must not use quotes.
2024-09-17 15:27:46 +02:00
Frank Wall 22d260f4e6 fix dns_nsupdate when NSUPDATE_OPT is empty, refs #5224 2024-09-16 16:49:28 +02:00
neil f86ee84457 fix format 2024-09-15 14:31:15 +02:00
neil 2d282597ca fix format 2024-09-15 14:30:12 +02:00
neil dc341ef9c1
Merge pull request #5149 from Weishaupt/patch-1
Fix missing XML Escape in Password of INWX DNS API
2024-09-15 13:46:38 +02:00
neil e0214a2c2a
Merge pull request #5218 from IIIPr0t0typ3III/dev
2 Bugfixes of `dns_dynv6.sh`: 1. domains containing 'id' are now working as intended and 2. hostnames are now cast to lowercase on the fly
2024-09-15 13:39:27 +02:00
neil 5275daa66c
Merge pull request #5231 from mickaelmonsieur/master
Update dns_ispconfig.sh
2024-09-15 13:35:38 +02:00
neil 5a20ce81e3
Merge pull request #5117 from alviy/master
New Alviy provider
2024-09-13 14:29:48 +02:00
neil fc4dba4468
Merge pull request #5187 from rwese/improve-dns_anx-performance
improve performance and memory usage for dns_anx
2024-09-13 14:22:01 +02:00
neil adff28dade
Merge pull request #5224 from gmanic/master
Add optional cmd line parameter NSUPDATE_OPT to dns_nsupdate api
2024-09-13 14:13:40 +02:00
neil c345ecae63
Merge pull request #5141 from nikolaypronchev/master
Add Timeweb Cloud DNS API
2024-09-13 14:03:46 +02:00
neil deb2a3e415
Merge pull request #5263 from i18nsite/patch-1
Update dns_huaweicloud.sh
2024-09-13 13:57:07 +02:00
neil c71dcd7611
Merge pull request #5214 from WhiteAls/yandex360
Support for the Yandex 360 for Business DNS API
2024-09-13 13:55:01 +02:00
Nikolay Pronchev 0f1e5f4fa4
Merge branch 'acmesh-official:master' into master 2024-09-06 19:28:44 +03:00
stbeldarborge 8860915fb9
remove dns 2024-09-03 21:36:54 +02:00
stbeldarborge f0d486d1ff
add bearer token to removal 2024-09-03 20:59:17 +02:00
WhiteAls 0fa20da990 Little optimisations and fixes.
- Removed or moved `_normalizeJson` processing to occur only when needed.
- Corrected usage of `_red` to `__red`.
- Simplified JSON parsing by using more concise `cut` commands.
- Simplify token refresh logic.
2024-09-03 17:11:43 +00:00
stbeldarborge b27767e8f4
logic 2024-09-02 16:04:34 +02:00
stbeldarborge 0b2edd28df
bearer check 2024-09-02 16:02:36 +02:00
stbeldarborge dd634382d7
debug 2024-09-02 15:57:48 +02:00
stbeldarborge c7fb155733
debug 2024-09-02 15:56:12 +02:00
stbeldarborge 1eaa2cc619
debug 2024-09-02 15:53:33 +02:00
stbeldarborge 92a47aaac5
logic 2024-09-02 15:41:55 +02:00
stbeldarborge fcffe8beb9
feat: add bearer token support 2024-09-02 15:40:45 +02:00
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