Closed RobinJ1995 closed 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!
Without Kubernetes, the Docker image should work fine. This is what most servers are running and have been running for a long time.
-P
option that's still in the example Kubernetes config files does not exist anymore.keys
folder. I had to dig into to entrypoint script to figure out thatinit
also generates a configuration file outside this folder that DNSCrypt won't start without. But as it's outside the volume mount, astart
after aninit
run will simply tell you to runinit
again as it can't find the config file.This piece of software, or at least its Docker image, currently seems to be in a non-functional state.