change listen address port to 5353
This commit is contained in:
parent
585286edfe
commit
b423101e63
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue