0

I'm using a Mediatek phone(stock rom) running Android 5.1.1 with root privillege(using Magisk). I downloaded the latest version of dnscrypt proxy for arm devices which came in a zip extension and can be flashed using twrp. My phone's stock rom does not have a init.d support nor does it have a resolv.conf on /etc/*. If I had to set dnscrypt proxy to use DoH through cloudflare servers, what necessary steps should I take to set it up properly. I am using Afwall+ as my primary firewall.

7
  • 1
    If that's a flashable zip, you don't need to do any extra setup. Everything is handled during flashing. dnscrypt-proxy binary built for Android does not depend on /etc/resolv.conf, but uses Android APIs to read system DNS settings. And init.d is nothing but batch execution of scripts by init during boot. You can define an init service in some .rc file. That's more robust. Also there are apps, I think, using VPNService API, to let dnscrypt-proxy be used on non-rooted devices too. – Irfan Latif Sep 20 '20 at 15:38
  • Have you checked if there is a newer custom ROM available for your device? For security reasons it perfectly make sens to switch to a newer Android version. – Robert Sep 21 '20 at 7:20
  • @honeymoly DoH isn't present on new Android versions too. Android 9+ releases have DoT though. But dnscrypt-proxy uses its own encryption, no dependency on Android. I can't understand what's actually the problem you are facing. Be precise. – Irfan Latif Sep 21 '20 at 7:22
  • @Robert unfortunately no. But that's okay, I happen to have an alternative phone. This phone has been with me for almost 3 years, I've grown a bit attached to it. Have been planning to harden whatever I can on this phone. I've got root, I've set custom firewall rules, I've got afwall+ to only allow Firefox_Beta, I've chmod 000 on /data/local/tmp + busybox on every restart, I could go on. I've grown attached to it (: – honeymoly Sep 22 '20 at 4:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.