mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 12:55:48 +03:00
[GH-ISSUE #335] Configuration questions #182
Labels
No labels
Documentation
Documentation
bug
enhancement
feature request
feature request
help wanted
pull-request
question
security
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/acme-dns#182
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @etfz on GitHub (Mar 15, 2023).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/335
Hi,
Don't know whether this is the appropriate place for questions, but I could not find any other support channel.
Trying to get started with this, and I've read the readme, but I am not clear on a few configuration parameters. I'd like to think I understand how things work conceptually, having previously set up different DNS servers for the same purpose.
I intend to get certificates for a few subdomains of my domain
example.com, such as*.system.example.comand*.intra.example.com. I have set up DNS records in my "real" DNS server:acme-ns.example.com A <acme-dns-public-ip>system.example.com NS acme-ns.example.comintra.example.com NS acme-ns.example.comMy confusion lies with some of the configuration parameters. In the example configuration the same domain is used pretty much for all parameters. I feel like my
nsnamewould beacme-ns.example.com, but I don't know whatdomainrefers to.The
*.intrasubdomains are resolvable only internally, and I have that sorted out already, but*.systemsubdomains need to be globally resolvable. Do I then need to define those in acme-dns in therecordsparameter, or can I delegate those requests elsewhere, or can I manage those in some way other than having to edit the configuration file?Also, for the
nsadmin, is the substituted @ just for the sake of the example, or how would it work where multiple dots are involved? Is this the address that would get used for Let's Encrypt notifications?@etfz commented on GitHub (Mar 27, 2023):
I will answer myself partially.
As far as I understand, the issue of having a domain resolvable through your regular DNS provider is solved by creating a permanent
_acme-challengeCNAME record pointing to your acme-dns instance and not creating the NS record.Having looked through the code, it seems like
nsnameandnsadminis only used for the SOA record.domainis also used for the SOA record, as well as the hostname of the API server for its Let's Encrypt certificate. (and some more things that I'm not sure what they are)Double backslash should be used to escape dots in
nsadmin, as I found in https://github.com/joohoi/acme-dns/pull/279.I am still uncertain of what purpose the
recordsparameter serves, and now I am not even sure whether an acme-dns instance supports acquiring wildcard certificates for multiple domains, or how I would do that.