simonclausen / dnscrypt-proxy-docker

Dockerfile for dnscrypt-proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple dnscrypt-proxy usage via Docker!

Build Status

Usage

Build the image:

docker build -t dnscrypt-proxy .

Start the container:

docker run -d -p 127.0.0.1:53:53/udp dnscrypt-proxy

The above steps will build and start the container using default settings, connecting it to dnscrypt.eu-nl server. If you would like to override this, use the following run to set variables:

docker run -d -p 127.0.0.1:53:53/udp \
-e RESOLVER_ADDR=1.1.1.1 \
-e PROVIDER_NAME=2.dnscrypt-cert.example.com \
-e PROVIDER_KEY=X \
dnscrypt-proxy

Credit

The Dockerfile in this project is based on dnscrypt-server-docker by Frank Denis.

About

Dockerfile for dnscrypt-proxy

License:MIT License