1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00
dockerfiles/chinadns
2017-05-08 07:05:07 +08:00
..
Dockerfile swith to new domain: easypi.pro 2017-05-08 07:05:07 +08:00
fig.yml fix dnsmasq --no-daemon 2015-03-06 00:31:03 +08:00
README.md add README.md 2015-03-06 01:11:54 +08:00
services.conf update 2015-05-31 12:17:22 +08:00

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