openvpn and dns
Posted: Fri Oct 26, 2012 8:47 am
I'm having trouble getting dns resolution to work. I'm using 1.5.8. although I suspect this problem is more about openvpn than about gargoyle.
When I access the server (the router) from the client (an android phone) the phone uses the wrong dns server and can't resolve any url:s..
There is an option to "fix dns" in the openvpn software on the phone which works, but only until the next network connection. So that's not a fix I'm satisfied with.
I then tried to add:
to the conf file but that didn't do the trick either.
What can I do to fix this?
When I access the server (the router) from the client (an android phone) the phone uses the wrong dns server and can't resolve any url:s..
There is an option to "fix dns" in the openvpn software on the phone which works, but only until the next network connection. So that's not a fix I'm satisfied with.
I then tried to add:
Code: Select all
push "dhcp-option DNS 8.8.8.8"
What can I do to fix this?