lufi42
a6b58bc88d
Corrected use of Plesk API calls to fetch all domain for all Plesk editions
This implementation of the Plesk API will add support for Plesk web admin edition and will now discover all domains ( of customers & administrative users) managed by the specific plesk instance.
The previous implementation of the Plesk API uses the customer API. This brings two problems:
1. The current API call only fetches the domains of resellers/customers and not the domains that are managed by administrative users.
compare:
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-customer-accounts/retrieving-the-list-of-customer%E2%80%99s-domains.75309/
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-plesk-server/getting-server-information/response-packet-structure-and-samples/list-of-domains.75294/
2. The customer API is only available in the web pro/host editions. The most common license on VPS/Dedicated Servers is nowadays the web admin edition. See: https://www.plesk.com/editions/
The correct way to get all domains in all Plesk editions is to use the Sites (Domains) API:
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-sites-domains/getting-information-about-sites.66583/
This way is working for all plesk editions the same way.
3 years ago
lufi42
ea3c37d754
Corrected use of Plesk API calls to fetch all domain for all Plesk editions
This implementation of the Plesk API will add support for Plesk web admin edition and will now discover all domains managed by the specific plesk instance.
The existing implementation of the Plesk API uses the customer API. This brings two problems:
1. The current API call only fetches the domains of resellers/customers and not the domains that are managed by administrative users.
compare:
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-customer-accounts/retrieving-the-list-of-customer%E2%80%99s-domains.75309/
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-plesk-server/getting-server-information/response-packet-structure-and-samples/list-of-domains.75294/
2. The customer API is only available in the pro/admin editions. The most common license on VPS/Dedicated Servers is the web host edition. See: https://www.plesk.com/editions/
The correct way to get all domains in all Plesk editions is to use the Sites (Domains) API:
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-sites-domains/getting-information-about-sites.66583/
3 years ago
Gabriel Thörnblad
b75e90f8c9
Double quote variables (shellcheck suggestions)
3 years ago
waldner
13f80acb2d
geoscaling DNS API
3 years ago
Gabriel Thörnblad
0ed4fc6a12
Update dns_loopia.sh
Loopia API is now less tolerant so we need another <value> tag surrounding the <struct>
3 years ago
richard-9000
8752d08ce9
dns_opnsense.sh - Fixed the domain parse regex
Extended the regex to skip the new transferkey and hmac sections of opnsense bind.
3 years ago
peter
9a677534a7
added more debug info when rm recordid is empty
3 years ago
peter
af08d67fad
rem. ;
3 years ago
peter
a2901d61ea
check for return values
3 years ago
peter
aaae83efec
check for return values
3 years ago
neilpang
01ace11293
Update dns_ispconfig.sh
fix https://github.com/acmesh-official/acme.sh/issues/3895#issuecomment-1035409954
3 years ago
neil
2c2a43e1ec
Update dns_cf.sh
if CF_Zone_ID is used, save it to domain conf instead.
3 years ago
peter
0c9a6da623
more specific delete of records
3 years ago
Andreas Scherer
888d91d14a
FIX dns_udr api: loop variable
3 years ago
peter
2c0cc87b4c
final commit
3 years ago
peter
ee0fadf247
shfmt
3 years ago
peter
9fb89d7fd2
shfmt
3 years ago
peter
af5c36e4ad
shfmt'
3 years ago
peter
a5f943e227
removed unused variable
3 years ago
peter
f8532ba812
removed unused variable
3 years ago
peter
fac4e151cc
description
3 years ago
Andreas Scherer
f3a0a25380
FIX dns_udr api: ttl, xargs, cleanup
3 years ago
peter
dc61c9e277
description
3 years ago
peter
10a15e1188
nothing
3 years ago
peterlh
a2bb6a4f1f
changed gettoken to use _post
changed gettoken to use _post instead of curl+jq
3 years ago
peterlh
38a19fa574
created dns_curanet.sh
3 years ago
Andreas Scherer
a7f2d89e3f
Added united-domains Reselling DNS API
3 years ago
Lorenz Stechauner
190ec0c14c
Adapt dns_world4you to new world4you website behaviour
3 years ago
michal
7250a300df
add managed identity support for azure dns
3 years ago
Yuan Ming
9088c8741a
Fix dns_huaweicloud subshell return
Replace pipe read with line count loop, fix useless return in subshell.
3 years ago
neilpang
faedea2120
Update dns_ddnss.sh
3 years ago
Vitaly Kireev
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}")"
3 years ago
Yuan Ming
9d2ee2127d
dns_huaweicloud debug info adjust
_secure_debug for sensitive token.
3 years ago
Yuan Ming
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)
3 years ago
I Komang Suryadana
bda454fe9c
Remove cloud domain record with cloud master zone. ( #3507 )
3 years ago
Felix Matouschek
2ce145f359
Refactoring amcedns api (second try) ( #3231 )
3 years ago
Bodenhaltung
4346139d65
Add dnsHome.de API ( #3823 )
Add dnsHome.de API
3 years ago
Jacob Vandborg
e23c02575d
Removed DNS sleep
Users should use command line parameter --dnssleep instead
3 years ago
jvandborg
459faf4dfb
Format to comply with style guide
3 years ago
Jacob Vandborg
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
3 years ago
Viktor G
d32cedd7dc
DNS-ISPConfig ISPC_Api_Insecure argument check fix
3 years ago
racitup
2b6aa26703
fix: Neilpang review
3 years ago
racitup
95f1336060
fix: token request body quoting
3 years ago
racitup
f46ee93597
fix: github switch
3 years ago
racitup
56d799f449
fix: debugging
3 years ago
racitup
6251652c93
fix: correct return value
3 years ago
racitup
6a2c9a0dc1
fix: floating token for github
3 years ago
racitup
4dd709b543
feat: Mythic Beasts DNS API script
3 years ago
wacki4
aa9f5b8c4a
Update dns_opnsense.sh
Correction when having many zones.
3 years ago
wacki4
f485f3fdb5
Update dns_opnsense.sh
Update for opnsense regards to error in #3735
3 years ago