acimis / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Retreive DNS Settings from server #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Retreive DNS Settings from server

Original issue reported on code.google.com by friedrich.schaeuffelhut on 16 Sep 2010 at 3:57

GoogleCodeExporter commented 9 years ago
To specify it more clearly, you get the option as control message from the 
server, e.g.:
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/xxx.ovpn]-daemon-stdout( 7972): Thu Nov 
 3 19:02:50 2011 PUSH: Received control message: 'PUSH_REPLY,ping 
10,ping-restart 60,ip-win32 dynamic,route-gateway a.b.c.d,redirect-gateway 
def1,dhcp-option DNS a.b.c.e,dhcp-option DNS a.b.c.d.f,dhcp-option DOMAIN 
example.com,ifconfig a.b.c.g 255.255.255.0'
It would be nice if the nameservers transmitted there would be used as system 
Nameserver as long as the connection exists.

Original comment by moritz.a...@gmail.com on 3 Nov 2011 at 6:08

GoogleCodeExporter commented 9 years ago
It could be solved like in tunnel droid that in app it is possible to set dns 
address.
After VPN connection estabilished two DNS servers should be used, one from 
Internet provider and second came from openvpn server or configured in openvpn 
settings.

Adam

Original comment by adamwegl...@gmail.com on 24 Jan 2012 at 3:21

GoogleCodeExporter commented 9 years ago
I need this as well - in the meantime is there a workaround? Most of our 
internal servers rely on DNS A, CNAME and SRV records...

Original comment by peter.bu...@gmail.com on 25 Jan 2012 at 5:38

GoogleCodeExporter commented 9 years ago
You can use old version of Tunnel Droid -  but this do not reconnect when 
connection is broken...

Original comment by adamwegl...@gmail.com on 25 Jan 2012 at 8:04

GoogleCodeExporter commented 9 years ago
I found a workaround by using Set DNS from Market to manually set the android 
DNS servers to the internal ones. 

Original comment by peter.bu...@gmail.com on 25 Jan 2012 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by friedrich.schaeuffelhut on 25 Jan 2012 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by friedrich.schaeuffelhut on 27 Jan 2012 at 8:34