Sign inSign up

eisimoes/dnscrypt-proxy

By eisimoes

Updated almost 2 years ago

DNS proxy with support for encrypted DNS protocols

Image
0

2.6K

eisimoes/dnscrypt-proxy repository overview

dnscrypt-proxy

DNSCrypt logo

Latest Release Latest Tag Open Issues License

DNSCrypt-proxy image.

Dockerfile

The Dockerfile used to build the images of this repository can be downloaded from my Github.

Build

# Build a local image
docker image build --pull --build-arg DNSCRYPT_RELEASE="2.0.45" -t eisimoes/dnscrypt-proxy:2.0.45 .

Tests

# Create a container
docker run --rm -d --name dnscrypt eisimoes/dnscrypt-proxy
# Test the container
docker run --rm -it --link dnscrypt alpine sh -c "apk add bind-tools; dig +dnssec -p 53000 dnscrypt.info @dnscrypt"

How to use?

Create a dnscrypt-proxy container using the image's default configuration file.

docker run -d -p 53:53000/tcp -p 53:53000/udp eisimoes/dnscrypt-proxy

Set the timezone and use a customized configuration file1.

# Using a custom configuration directory
docker run -d -p 53:53000/tcp -p 53:53000/udp -e TZ=America/Sao_Paulo -v /path/to/config/:/etc/dnscrypt-proxy/ eisimoes/dnscrypt-proxy
# Using a custom configuration file
docker run -d -p 53:53000/tcp -p 53:53000/udp -e TZ=America/Sao_Paulo -v /path/to/config/file:/etc/dnscrypt-proxy/dnscrypt-proxy.toml eisimoes/dnscrypt-proxy

1: The directory and/or the configuration file must be readable by nobody:nogroup.

Contributing

Please open an issue or submit a pull request with any features, fixes, or changes.

https://github.com/eisimoes/dnscrypt-proxy/issues

Credits

Based on https://github.com/klutchell/dnscrypt-proxy.

License

Tag summary

Content type

Image

Digest

sha256:05c4dab8f

Size

5.3 MB

Last updated

almost 2 years ago

docker pull eisimoes/dnscrypt-proxy