diff --git a/chinadns/fig.yml b/chinadns/fig.yml index 6c64a6a..a79278e 100644 --- a/chinadns/fig.yml +++ b/chinadns/fig.yml @@ -1,5 +1,6 @@ -dnscrypt: - image: vimagick/dnscrypt +chinadns: + image: vimagick/chinadns ports: - "53:53/udp" - "53:53/tcp" + restart: always diff --git a/chinadns/services.conf b/chinadns/services.conf index bea8369..fb5aa19 100644 --- a/chinadns/services.conf +++ b/chinadns/services.conf @@ -4,4 +4,4 @@ command = chinadns -m -c /etc/chnroute.txt -p 2053 [program:dnsmasq] priority = 200 -command = dnsmasq -C /etc/dnsmasq.conf +command = dnsmasq -d -C /etc/dnsmasq.conf diff --git a/dnscrypt/fig.yml b/dnscrypt/fig.yml index 6c64a6a..1df501d 100644 --- a/dnscrypt/fig.yml +++ b/dnscrypt/fig.yml @@ -3,3 +3,4 @@ dnscrypt: ports: - "53:53/udp" - "53:53/tcp" + restart: always