Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

DNScrypt proxy for Android install

OP Draygon

22nd October 2014, 09:35 AM   |  #21  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Oct 2014
installed but can only resolve when the apps has root permmission
Sorry, after i checked again, it's not only can resolve when has root permission. The real problem is, addresses can only be resolved using nslookup command from terminal, when i ping the address, the ping command can not get the address resolved, the same with all other application unable to resolve either. Any idea what happened? Thanks.
Last edited by m4ttrix; 23rd October 2014 at 04:46 AM. Reason: correction
3rd November 2014, 08:44 PM   |  #22  
Member
Thanks Meter: 4
 
51 posts
Join Date:Joined: Jun 2008
More
Quote:
Originally Posted by grodius

How do you set your phones global DNS setting for any dynamic IPs on any network? I cannot figure out how to point my phone to 127.0.0.1

The flashable .zip file contains a init.d script that, via iptables, does a transparent redirect of DNS requests

---------- Post added at 08:44 PM ---------- Previous post was at 08:39 PM ----------

Quote:
Originally Posted by m4ttrix

Sorry, after i checked again, it's not only can resolve when has root permission. The real problem is, addresses can only be resolved using nslookup command from terminal, when i ping the address, the ping command can not get the address resolved, the same with all other application unable to resolve either. Any idea what happened? Thanks.

Try to install busybox
10th November 2014, 03:49 AM   |  #23  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Oct 2014
Smile DNS Crypt only works on WIFI Connection
Quote:
Originally Posted by lamero1

The flashable .zip file contains a init.d script that, via iptables, does a transparent redirect of DNS requests

---------- Post added at 08:44 PM ---------- Previous post was at 08:39 PM ----------


Try to install busybox

I already installed busybox. Dnscrypt only works on WIFI connection. On 3G Connection dnscrypt only works on terminal nslookup command, and flashfox browser, other than that it shows DNS lookup failed error message. Seems like localhost port 53 inaccessible on 3G connection. Any idea what's missing? Thanks.

I'm using Note3 SM-N900 4.4.2 XXUENG1 , Busybox 1.22.1, Xposed framework 2.6.1
10th November 2014, 12:52 PM   |  #24  
Member
Thanks Meter: 4
 
51 posts
Join Date:Joined: Jun 2008
More
Please connect in 3G your phone. Via adb shell give this commands:
Code:
su
iptables -t nat -L
iptables -L
Paste the result (use nopaste service)
11th November 2014, 03:19 AM   |  #25  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Oct 2014
Quote:
Originally Posted by lamero1

Please connect in 3G your phone. Via adb shell give this commands:

Code:
su
iptables -t nat -L
iptables -L
Paste the result (use nopaste service)

Here's the result, a litte bit long: using no paste service "fd8c9bd52d.html" (sorry haven't reach 10post, can not post link)
Strange thing is that ONLY my flashfox browser works on this 3G connection, or maybe it has something to do with permission?
11th November 2014, 09:31 AM   |  #26  
Member
Thanks Meter: 4
 
51 posts
Join Date:Joined: Jun 2008
More
Lightbulb
I'm sorry I don't know, but you can try to:
  • Delete iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1 from /system/etc/init.d/dnscrypt
  • Delete iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 127.0.0.1 from /system/xbin/dnscrypt
  • Install afwall
  • Read the FAQ
  • Build a custom script to redirect all DNS request to 127.0.0.1.
The Following User Says Thank You to lamero1 For This Useful Post: [ View ]
11th November 2014, 09:48 AM   |  #27  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Oct 2014
Thumbs up
Seems like a good idea, thanks you very much Bro~ , I'll try it.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes