DNS setting in Android

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Locked
luisneves
OpenVpn Newbie
Posts: 2
Joined: Mon Nov 07, 2016 5:50 pm

DNS setting in Android

Post by luisneves » Mon Nov 07, 2016 5:58 pm

Hello to all, I am trying to push my internal DNS servers, configured on OpenVPN server running on PFSense 2.3 to a Android Client (5.0). Ive tried all the configurations I could find, manually pushing the DNS servers, automatically pushing, routing every traffic to the VPN Tunnel, and nothing, cant get the internal DNS servers on the Android. VPN tunnel is successful established.
I can access my internal server by IP only and all DNS queries I made is externally resolved.

Please help!
(The phone is not rooted and i dont want to do that just because of OpenVPN)

On Ubuntu I had a similar issue, but found a solution using the "up" and "down" scripts for registering the DNS servers.
In windows and MAC and Iphone clients I didnt tested yet

Why so much trouble sending new DNS servers to the clients?....
Thank you
Luis Neves

luisneves
OpenVpn Newbie
Posts: 2
Joined: Mon Nov 07, 2016 5:50 pm

Re: DNS setting in Android (SOLVED)

Post by luisneves » Wed Nov 16, 2016 7:41 pm

Found the answer.... the android was indeed doing DNS queries to my internal servers, but local iptables was denying the communication.... my fault

Locked