ho-ansible / tinc

Ansible role: mesh-based VPN
MIT License
1 stars 0 forks source link

Android: set DNS resolver #8

Open seanho00 opened 6 years ago

seanho00 commented 6 years ago

Android doesn't use /etc/resolv.conf, and even rndc changes syntax and doesn't seem to work all the time.

If rooted, maybe just use iptables to redirect all outgoing UDP 53 to our chosen DNS server?

seanho00 commented 6 years ago

This is already in my udhcpc-script.sh script for the poirsouille app (rooted, switch mode, tinc v1.0).

The pacien app (Android VPN service, non-root, router mode, tinc v1.1) uses addDnsServer but it doesn't seem to take.