DNSCrypt / dnscrypt-server-docker

A Docker image for a non-censoring, non-logging, DNSSEC-capable, DNSCrypt-enabled DNS resolver
https://dnscrypt.info
ISC License
670 stars 135 forks source link

Docker image and/or instructions are utterly broken #98

Closed RobinJ1995 closed 3 years ago

RobinJ1995 commented 3 years ago

This piece of software, or at least its Docker image, currently seems to be in a non-functional state.

jedisct1 commented 3 years ago

Hi!

And thanks for reporting this!

The Kubernetes examples may not be used much. I personally never used Kubernetes, so maybe these configuration files don’t work. If you know how to fix them, your help would be much appreciated! If not, maybe we should just remove them.

Only the keys needs to be a persistent volume. Configuration files are created from its content, but these are ephemeral, recreated on startup, and you shouldn’t have to worry about them.

There’s an internal DNS server, but it is listening to port 553 and is not meant to be visible externally. There is no web server. Port 443 is for DNSCrypt, which is the purpose of that Docker image. It can optionally proxy HTTPS content to a HTTPS server, but that has to be enabled with -T <HTTP server address>.

Anyway, I can try to understand what is wrong with the Kubernetes example (maybe minikube is enough to run that configuration? I don’t have a Google Cloud account or whatever is needed to run the actual thing). Maybe the wrong option name (-P instead of -M) having been fixed makes it work as expected. If you know Kubernetes, please let me know! Thank you!

jedisct1 commented 3 years ago

Without Kubernetes, the Docker image should work fine. This is what most servers are running and have been running for a long time.