acme-dns icon indicating copy to clipboard operation
acme-dns copied to clipboard

How do i use acme-dns with already running nginx and dns on the host machine?

Open 3x3cut0r opened this issue 2 years ago • 7 comments

i have an nginx-reverse-proxy on my host machine. do i need to redirect /register and /update to a custom port 80 port on the docker? is this enough?

whats about the port 53? how do i handle this with an already running unbound or another dns-server on the host machine?, which is also not holding the domain. the host dns-servers upstream dns is holding the domain...

i need some help to understand howto configure the acme-dns with an LE wildcard cert.

thank you

3x3cut0r avatar Nov 18 '21 07:11 3x3cut0r

I would like to know, can I use acme-dns on my existing VPS that is being used for web hosting?

sobujbd avatar Dec 22 '21 09:12 sobujbd

You can do reverse proxying for /register and /update as you assumed, that will work.

Your problem does come along with the DNS though. The acme-dns DNS server needs to be running on port 53 in order for it to work. So you'll probably need to host acme-dns instance on some other box instead.

joohoi avatar Jan 25 '22 22:01 joohoi

...or, depending on acme-dns client in use, you can also use a non-standard HTTP(S) port, there's no requirement for hosting the API on port 443 (or 80 in that regard).

joohoi avatar Jan 25 '22 22:01 joohoi

Did you guys find a client that doesn't use ports 80/443? (I'm also trying to run it on a server that already has services on those ports.)

lonix1 avatar Jun 14 '22 09:06 lonix1

@lonix1 what does your app do if you just specify the port (whatever you need it to be) e.g. https://your-acme-dns:8443/register

webprofusion-chrisc avatar Jun 14 '22 09:06 webprofusion-chrisc

No TXT record found at _acme-challenge.auth.foo.com - I suspect my config is wrong. I will look into that.

lonix1 avatar Jun 14 '22 09:06 lonix1

We can use custom port for HTTP requests. See this - acmedns.sh

sobujbd avatar Jul 25 '22 01:07 sobujbd