Installs dnscrypt-proxy 2 in a Debian Slim Docker image: https://github.com/jedisct1/dnscrypt-proxy
You can set a few variables depending on your needs:
SERVER_NAMES="'scaleway-fr', 'google', 'yandex', 'cloudflare'"
: Set to a comma-separated, single-quoted list of server names based on https://download.dnscrypt.info/dnscrypt-resolvers/v2/public-resolvers.md.REQUIRE_DNSSEC=false
: set totrue
if you want to require DNSSEC queriesLOG_LEVEL=2
: Can be set to0
to6
, where a lower number is more verbose.
This container will listen on 53 tcp and udp. If you want dnscrypt-proxy
to listen on the default port 53 tcp/udp, run with a command similar to:
docker run -p 53:53/tcp -p 53:53/udp
-e REQUIRE_DNSSEC=true \
-e LOG_LEVEL=5 \
-e SERVER_NAMES="'cloudflare'" \
--name dnscrypt-proxy \
steeef/dnscrypt-proxy