Commit Graph

1616 Commits

Author SHA1 Message Date
bc14e2ba4a correctly handle any fulldomain
how is this algorithm for finding the root domain, it can handle "example.com.br"
2022-03-31 11:19:45 -04:00
41ba9b15ca Handle many domain cert with many accounts
My solution is to use dynamic variables and append the domain with the dot replaced by an underscore to the variable so you can export a set for each domain.

Better yet would be to make use of the json file "/etc/letsencrypt/acmedns.json" that contains the accounts.

Similar to how it is used here: https://github.com/joohoi/acme-dns-certbot-joohoi/blob/master/acme-dns-auth.py
2022-03-30 13:50:10 -04:00
a50158cbeb Merge pull request #3982 from waldner/master
Geoscaling: read credentials when removing records too
2022-03-24 15:15:58 +08:00
8d574ecb34 Geoscaling: get creds for removal too 2022-03-15 18:56:54 +01:00
227d62a5dc Fixes Simply.com to use REST API version 2 with Basic Auth 2022-03-10 11:13:38 +01:00
6ead019873 Accept some special characters in password and added a little bit better error handling 2022-03-09 17:12:09 +01:00
e58b00d9a2 Merge pull request #3964 from gabbe/Loopia_API_is_updated
Update dns_loopia.sh
2022-03-07 21:52:03 +08:00
b75e90f8c9 Double quote variables (shellcheck suggestions) 2022-03-07 10:28:09 +01:00
0bc8e3bee5 Merge pull request #3965 from waldner/master
geoscaling DNS API
2022-03-07 09:08:01 +08:00
13f80acb2d geoscaling DNS API 2022-03-05 19:34:36 +01:00
8fe813acff Merge pull request #3932 from peterlh/master
Added curanet dns support
2022-03-05 18:58:14 +08:00
0ed4fc6a12 Update dns_loopia.sh
Loopia API is now less tolerant so we need another <value> tag surrounding the <struct>
2022-03-04 13:38:05 +01:00
930609e875 Merge pull request #3948 from richard-9000/richard-9000-patch-1
dns_opnsense.sh - Fixed the domain parse regex
2022-02-22 21:41:22 +08:00
8752d08ce9 dns_opnsense.sh - Fixed the domain parse regex
Extended the regex to skip the new transferkey and hmac sections of opnsense bind.
2022-02-19 10:52:24 -08:00
9a677534a7 added more debug info when rm recordid is empty 2022-02-13 14:00:14 +01:00
af08d67fad rem. ; 2022-02-12 23:41:26 +01:00
a2901d61ea check for return values 2022-02-12 23:39:33 +01:00
aaae83efec check for return values 2022-02-12 20:18:08 +01:00
7369298638 Merge pull request #3921 from andischerer/master
Added united-domains Reselling DNS API
2022-02-11 21:24:40 +08:00
01ace11293 Update dns_ispconfig.sh
fix https://github.com/acmesh-official/acme.sh/issues/3895#issuecomment-1035409954
2022-02-11 21:11:04 +08:00
2c2a43e1ec Update dns_cf.sh
if CF_Zone_ID is used,  save it to domain conf instead.
2022-02-09 18:08:55 +08:00
0c9a6da623 more specific delete of records 2022-02-08 17:18:48 +01:00
888d91d14a FIX dns_udr api: loop variable 2022-02-08 15:57:19 +01:00
2c0cc87b4c final commit 2022-02-08 13:49:04 +01:00
ee0fadf247 shfmt 2022-02-08 13:34:42 +01:00
9fb89d7fd2 shfmt 2022-02-08 13:33:43 +01:00
af5c36e4ad shfmt' 2022-02-08 13:32:15 +01:00
a5f943e227 removed unused variable 2022-02-08 13:24:31 +01:00
f8532ba812 removed unused variable 2022-02-08 13:21:02 +01:00
fac4e151cc description 2022-02-08 13:19:22 +01:00
f3a0a25380 FIX dns_udr api: ttl, xargs, cleanup 2022-02-08 08:05:48 +01:00
dc61c9e277 description 2022-02-05 22:21:18 +01:00
10a15e1188 nothing 2022-02-05 21:12:36 +01:00
a2bb6a4f1f changed gettoken to use _post
changed gettoken to use _post instead of curl+jq
2022-02-05 21:07:04 +01:00
38a19fa574 created dns_curanet.sh 2022-02-05 20:54:30 +01:00
20877146df Merge branch 'acmesh-official:master' into master 2022-02-04 20:36:31 +01:00
a7f2d89e3f Added united-domains Reselling DNS API 2022-02-01 14:46:20 +01:00
190ec0c14c Adapt dns_world4you to new world4you website behaviour 2022-01-24 16:47:47 +01:00
7250a300df add managed identity support for azure dns 2022-01-22 13:22:44 +08:00
9088c8741a Fix dns_huaweicloud subshell return
Replace pipe read with line count loop, fix useless return in subshell.
2022-01-20 14:01:33 +08:00
faedea2120 Update dns_ddnss.sh 2022-01-19 22:22:53 +08:00
e1a0f5706d DNS REGRU utf-list to idn (punycode)
service/get_list returns domains in utf. But if utf, then error Error parsing certificate request: x509: SAN dNSName is malformed

early using my patch by IDN_ITEM="$(echo "${ITEM}" | idn)"

Now replacing by IDN_ITEM="$(_idn "${ITEM}")"
2022-01-19 21:59:48 +08:00
9d2ee2127d dns_huaweicloud debug info adjust
_secure_debug for sensitive token.
2022-01-15 19:23:30 +08:00
e49ece8793 dns_huaweicloud.sh minor bug fixes
1. Match zone name in response in case multiple items return.
2. Use string '"id"' (single quotation marks added) to check if zone/record exist in _get_zoneid() & _get_recordset_id(). Fix domain can't contain string "id".

(Sensitive _debug Access Token Commented out, For CICD Run)
2022-01-14 22:10:26 +08:00
bda454fe9c Remove cloud domain record with cloud master zone. (#3507) 2022-01-11 15:25:10 +08:00
2ce145f359 Refactoring amcedns api (second try) (#3231) 2022-01-09 11:11:00 +08:00
4346139d65 Add dnsHome.de API (#3823)
Add dnsHome.de API
2022-01-09 10:32:22 +08:00
e23c02575d Removed DNS sleep
Users should use command line parameter --dnssleep instead
2022-01-07 08:10:31 +01:00
459faf4dfb Format to comply with style guide 2022-01-06 22:03:39 +01:00
8cdceb83b2 Cannot wait for PR #3673 to be completed
PR #3673 Fix simply.com API seems abandoned by maintainer and I need this fixed asap

Changes implemented
* Normalize JSON and fix not handling return code correctly
* Add some information to comments
* Fix trailing slash on URIs
* Add 60 second sleep for zone to be written
* Fix parsing record_data and record_type
2022-01-06 19:21:05 +01:00