change listen address port to 5353

This commit is contained in:
bluemeda 2018-02-27 23:08:25 +07:00
parent 585286edfe
commit b423101e63
3 changed files with 5 additions and 5 deletions

View File

@ -12,8 +12,8 @@ do
ping -c 1 google.com ping -c 1 google.com
if [[ $? == 0 ]]; if [[ $? == 0 ]];
then 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 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:53 iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1:5353
break; break;
else else
sleep 5 sleep 5

View File

@ -27,7 +27,7 @@
## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6. ## 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: [] ## 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 ## Maximum number of simultaneous client connections to accept

View File

@ -1,7 +1,7 @@
id=dnscrypt-proxy id=dnscrypt-proxy
name=DNSCrypt-Proxy 2 name=DNSCrypt-Proxy 2
version=v1.0 version=v1.1
versionCode=1 versionCode=2
author=bluemeda author=bluemeda
description=A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2. description=A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2.
minMagisk=1500 minMagisk=1500