1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
dockerfiles/dnscrypt
2015-03-06 01:11:54 +08:00
..
Dockerfile switch dnsmasq to pdnsd 2015-03-02 22:42:11 +08:00
fig.yml fix dnsmasq --no-daemon 2015-03-06 00:31:03 +08:00
pdnsd.conf fix ip 2015-03-02 23:00:24 +08:00
README.md add README.md 2015-03-06 01:11:54 +08:00
services.conf switch dnsmasq to pdnsd 2015-03-02 22:42:11 +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