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
DNS Plugin for Infomaniak.com #309
Conversation
Just figured that in the function |
Hi @Sundypha. Thanks for the submission! Everything looks great at first glance. Give me a bit to review and test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job. Just fix the one _acme-challenge check removal and this should be good to merge.
Forgot to answer this. For things like the domain not being found which you can't really recover from, I'll just use |
You were right. It failed when I had alias |
Hi @rmbolger, Did again another round of testing including timed out API calls to check debug and throw messages. Should I add another |
There should definitely be a local instance of |
I thought so exactly. I wasn't sure if Powershell has some kind of external scoping into functions called since it was working without but it felt awkward. |
Added one last fix that it looks like you had found originally and fixed in the Remove method but forgot to copy to the Add method. |
Hang on, I thought about this one. I'll try if the $RecordName can be used for adding the record instead of the short version. |
Yes, |
With alias'ing the Invoke-RestMethod : {"result":"error","error":{"code":"unexpected_error","description":"An unexpected error occurred"}} Edit: Just to clarify: The |
Thanks for the effort, @Sundypha. I'll try to get this out in a release soon. |
Hi @rmbloger.
First of all: Thank you so much for this ACME client.
I added a DNS Plugin for the hoster Infomaniak from Switzerland.
I did use the plugin on two Windows Servers and a Windows Desktop which all worked well.
I tested:
I've got one question. Is there a way to tell the user if something failed? e.g., the zone hasn't been found? Refer to line 69 and line 150 where I could fail gracefully.
Awaiting your review and feedback!
Best
Simon