1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:29 +02:00
dockerfiles/dnscrypt/proxy
2015-05-30 19:47:20 +08:00
..
Dockerfile update 2015-05-30 19:47:20 +08:00
fig.yml update 2015-05-30 19:47:20 +08:00
pdnsd.conf update 2015-05-30 19:47:20 +08:00
README.md update 2015-05-30 19:47:20 +08:00
services.conf update 2015-05-30 19:47:20 +08:00

dnscrypt + pdnsd

About

  • dnscrypt: A protocol for securing communications between a client and a DNS resolver.
  • pdnsd: A DNS server designed for local caching of DNS information.

Fig

dnscrypt:
  image: vimagick/dnscrypt
  ports:
    - "53:53/udp"
    - "53:53/tcp"
  restart: always

Run

fig up -d

Test

# UDP
dig @127.0.0.1 www.google.com

# TCP
dig @127.0.0.1 www.youtube.com +tcp