Skip to content

Commit

Permalink
Android's 99dnscrypt: use a random resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
D4ZTKit authored and jedisct1 committed Jan 22, 2017
1 parent 085da25 commit cea9bd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dist-build/android-files/system/etc/init.d/99dnscrypt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ while :; do
sleep 1

# check second server (servers go down pretty often)
RESOLVER_NAME=okturtles
RESOLVER_NAME=random
dnscrypt-proxy \
--resolver-name="$RESOLVER_NAME" \
--resolvers-list=/system/etc/dnscrypt-proxy/dnscrypt-resolvers.csv \
Expand All @@ -26,7 +26,6 @@ done

dnscrypt-proxy \
--daemonize \
--loglevel=3 \
--resolver-name="$RESOLVER_NAME" \
--resolvers-list=/system/etc/dnscrypt-proxy/dnscrypt-resolvers.csv && \
iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1 && \
Expand Down

0 comments on commit cea9bd9

Please sign in to comment.