From b423101e63e948cb9ed0b395c39bac2ba5c6cb83 Mon Sep 17 00:00:00 2001 From: bluemeda Date: Tue, 27 Feb 2018 23:08:25 +0700 Subject: [PATCH] change listen address port to 5353 --- common/service.sh | 4 ++-- config/dnscrypt-proxy.toml | 2 +- module.prop | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/service.sh b/common/service.sh index b604ee3..7e28fcb 100755 --- a/common/service.sh +++ b/common/service.sh @@ -12,8 +12,8 @@ do ping -c 1 google.com if [[ $? == 0 ]]; then - iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:53 - iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:53 + iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 127.0.0.1:5353 + iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:5353 break; else sleep 5 diff --git a/config/dnscrypt-proxy.toml b/config/dnscrypt-proxy.toml index 98535a9..dc1db65 100644 --- a/config/dnscrypt-proxy.toml +++ b/config/dnscrypt-proxy.toml @@ -27,7 +27,7 @@ ## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6. ## To only use systemd activation sockets, use an empty set: [] -listen_addresses = ['127.0.0.1:53', '[::1]:53'] +listen_addresses = ['127.0.0.1:5353', '[::1]:5353'] ## Maximum number of simultaneous client connections to accept diff --git a/module.prop b/module.prop index 47c1c03..87a22aa 100755 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=dnscrypt-proxy name=DNSCrypt-Proxy 2 -version=v1.0 -versionCode=1 +version=v1.1 +versionCode=2 author=bluemeda description=A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2. minMagisk=1500