mirror of
https://github.com/acme-dns/acme-dns.git
synced 2026-04-27 04:45:48 +03:00
[GH-ISSUE #194] SERVFAIL looking up TXT for _acme-challenge.auth.mydomain.de #85
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#85
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 @p-baum on GitHub (Oct 30, 2019).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/194
I don't know what I'm doing wrong but I can't for life of me get this working with docker. The best I can get is:
At namecheap I have the following records:
A record: auth.hauscloud.de > 78.46.189.59
NS record: auth > auth.hauscloud.de (namecheap adds the domain)
my latest conf attempt looks like this:
It is unclear to me what IP addresses I should use for 'api' and 'general' section so i have tried all permutations i can think of.
Why does it never work?
@joohoi commented on GitHub (Oct 30, 2019):
This happens most likely because Let's Encrypt cannot request records from your
acme-dnsinstance. Thelistenconfiguration directive should be an address that a client can connect from the public internet.If your server has the IP address that you pointed to with the NS record, you should use that for the
listenaddress, but in some environments the interfaces might be behind port forwarding firewall.@p-baum commented on GitHub (Oct 30, 2019):
OK. Thankyou for the quick response.
I changed listen to my external IP address. Now I get this:
my docker-compose looks like this:
The hosts netstat looks like this:
@p-baum commented on GitHub (Oct 30, 2019):
I finally got it running:
The working combination is:
docker-compose.yml
config.cng
@mskwon commented on GitHub (May 14, 2020):
Hi everyone,
I also struggled with this situation, only for me I wasn't using just docker-compose but also had a couple layers in between - like this:
Router <-> keepalived <-> nginx <-> acme-dns
The answer that is in this thread still applies, but instead of $EXTERNAL_HOST_IP you can put in the docker host ip address - for example, if the host running docker has an ip address of 192.168.0.55 assigned to it by your network dhcp server and you are routing via port 5353 then you can use this in the ports section:
Just a heads up!