acme.sh
acme.sh copied to clipboard
add freemyip.com dnsapi
Could someone help to approve the running workflows? Thanks
I fixed the shfmt issue just now. Could you approve the workflow and review again?
read this link first: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Dev-Guide
https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test
Hi, I have resolved all comments. Maybe it's ready for merge.
Sorry for the inconvenience. I have already read the DNS-API-Dev-Guide before opening this PR, but it didn't mention the rule about "including sample token" and "token variable name should be uppercase".
Hi, how may I help with this PR? I want this to be merged as well.
Is there any further effort required to get it merged? Thanks
https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test
https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test
The pipeline is not succeeding even if I have reverted all my code change: https://github.com/recolic/acme.sh/commits/master

I'm confused to that...
read this guide. and fix the DNS test: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test
No. I have reverted all my code change. It means that this test does not pass even on the master branch.
I have carefully read the guide for 3 times, however, I still don't know what should I do to fix the master branch.
why not do the steps in the guide ?

Question: Is it a expected behavior that master branch will fail the pipeline?
I am not adding any new API, so most of the guide does not apply to an empty Pull Request.
Question: Is it a expected behavior that master branch will fail the pipeline?
Yes
Oh sorry for the confusion. Since it's expected, I will only focus on testing my new API.
I was just going to the wrong way. Thanks for your information
Hi Neilpang,
After playing with the workflow for several days, I noticed a weird problem in the DNS workflow:
While running ./acme.sh --issue -d recolic-testing-acme.freemyip.com --debug --dns dns_freemyip on my machine, it adds a TXT record for _acme-challange.recolic-testing-acme.freemyip.com, and then verify it. It works pretty well.
However, the testing workflow is trying to add two TXT record to the same domain name. It's obviously not supported by freemyip.com, and it leads to a failure. I don't understand why it wants to add two TXT records to the same domain, and it's not the case for my local test. Do you have any suggestion about how to fix this?

local testing log (succeeded): https://paste.ee/p/GiLiY
github action log: https://github.com/recolic/acme.sh/runs/7038179168?check_suite_focus=true#step:5:219
it was required to create wildcard domain.
you can define a new secret TEST_DNS_NO_WILDCARD=1 to disable it.
Hey @Neilpang I have passed all tests and pipelines, and I have squashed my git commits. I believe it's ready for merge now!
Could you take a minute and review this PR? Thanks for your powerful help!