-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report bugs to IONOS DNS API #3379
Comments
Not sure if I'm supposed to post this here? Also created an issue: Steps to reproduce acme.h --issue --dns dns_ionos -d Debug log [Fri 13 May 18:31:02 BST 2022] Found domain api file: .acme.sh/dnsapi/dns_ionos.sh acme.sh --issue ..... --debug 2 if _ionos_rest POST "$IONOS_ROUTE_ZONES/$_zone_id/records" "$_body" && [ -z "$response" ]; then i.e. [ -z "$response" ] fails as $response is not empty Removing both the [ -z "$response" ] tests (for the add and remove) works around the issue but I guess there should be a proper test for success of the operation based on the response. NB I also had to change to use Let's Encrypt CA as there seemed to be an issue with the default CA to get a cert issued. |
Thank you for reporting this problem @mrw-s. The IONOS DNS API was indeed updated to version 1.0.1 which now includes response bodies in UPDATE and DELETE operations. I have created the pull request #4102 to update the dns_ionos API accordingly. |
Hi @zak905, thanks for hitting me up! I noticed that the Cloud API differs quite significantly from the DNS API in both request and response bodies, as well as the authentication Bearer token. You had to change 168 lines, which is nearly as much as the original file itself (171 lines). Therefore, I'd recommend this to be a completely separate dnsapi provider in its own However, I'm actually not a IONOS customer anymore and therefore cannot maintain |
Thanks for the input @lbrocke! I appreciate. Let's wait for @Neilpang feedback then. I totally get your point regarding creating a new script. To give you a bit of context: before working on this, we have discussed whether to create a new script or to integrate the functionality into the existing one, and we leaned slightly towards the second choice because:
by the way, the IONOS Cloud DNS team is interested into maintaining the whole dns_ionos.sh, so we can try to keep things up to date |
I agree, please make a new one, |
That would be great! |
@Neilpang I have created a new script for IONOS cloud called ionos_cloud_dns.sh. Can you please take a look at the PR ? we are keen to get this integrated into upstream. ps: the latest tests runs are green: https://github.com/ionos-cloud/acme.sh/actions/runs/9083906857 |
This is the place to report bugs in the IONOS DNS API. If you experience a bug, please report it in this issue.
Thanks!
The text was updated successfully, but these errors were encountered: