diff --git a/chinadns/README.md b/chinadns/README.md new file mode 100644 index 0000000..58620a8 --- /dev/null +++ b/chinadns/README.md @@ -0,0 +1,29 @@ +chinadns + dnsmasq +================== + +## About + +- chinadns: Protect yourself against DNS poisoning in China. +- dnsmasq: A free software DNS forwarder and DHCP server for small networks. + +## Fig + + chinadns: + image: vimagick/chinadns + 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 + diff --git a/dnscrypt/README.md b/dnscrypt/README.md new file mode 100644 index 0000000..316a8e8 --- /dev/null +++ b/dnscrypt/README.md @@ -0,0 +1,29 @@ +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 +