Run the cloudflared proxy-dns using the DNS over HTTPS endpoints from quad9. The proxy-dns listens on port 5054 by default but can be changed using the PORT environment variable.
This docker image is a simple configuration of the visibilityspots/cloudflared image to use the quad9 DNS over HTTPS endpoints.
The docker image is published to ajhewett/quad9d on Docker Hub.
docker run --name quad9d --rm --net host ajhewett/quad9d
The following environment variables are available (together with defaults):
ENV PORT 5054
ENV UPSTREAM1 https://9.9.9.9/dns-query
ENV UPSTREAM2 https://149.112.112.112/dns-query
You can set these variables to run a container with different DoH servers.
Distributed under the MIT license.