mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
DuckDNS wildcard/sub-domains failure #375
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KillianDS on GitHub (Sep 14, 2018).
I currently try to get a single certificate for a duckdns domain and a sub domain, which fails. You can find some redacted output below for reference.
I think dehydrated first deploys all challenges, then triggers validation for all domains and then cleans all challenges (HOOK_CHAIN is off). However, duckdns is a bit special in that sense that while they do support subdomains, these simply point to the same record as the main domain and you can only set the latter. So what seems to happen is:
Am I doing something wrong on my end or is this a restriction of how dehydrated/ACME works? In the latter case, would it be possible to explicitly sequence deploy/validate/clean per (sub)domain via some option?
about my setup:
Config only overwrites CA (to use staging) and sets domain file. My domain file is really simple 'mydomain.duckdns.org mysub.mydomain.duckdns.org'. I validated and the hook is working just fine if I only try the single domain or sub-domain, it's the combination that fails.
For reference: I tried using a wildcard certificate instead of a subdomain but that gave the same problem. In this case I actually don't understand how it could work even for other DNS providers, because dehydrated itself asked to install tokens for 'mydomain.duckdns.org' and 'mydomain.duckdns.org' (it stripped the *. itself), which would always conflict.
@alainwolf commented on GitHub (Sep 14, 2018):
Probably related to #553 and/or #554
Did you read the troubleshooting guide?
Why are DNS challenges deployed first and verified later?
@KillianDS commented on GitHub (Sep 14, 2018):
I missed that troubleshooting guide, my apologies. If I read that correctly the better solution would be to actually have duckdns support multiple txt records per domain, I will check with them.
@letroll commented on GitHub (Sep 22, 2018):
@KillianDS Have found a solution? I have same issue...
@KillianDS commented on GitHub (Sep 25, 2018):
@letroll I don't have a technical solution, as explained in the link above the only way to work around that limitation is to do challenges one by one and to wait for the DNS cache to timeout in between. This would take a while, even with duckdns' short TTL.
I left a suggestion on duckdns' google+ community to support more than one TXT record but did not get any feedback on that.
In any case closing this here as it is indeed a duplicate of #553 (and #554)