openvpn and dns

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
UsernameTaken
Posts: 34
Joined: Mon Feb 28, 2011 4:27 pm

openvpn and dns

Post by UsernameTaken »

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:

Code: Select all

push "dhcp-option DNS 8.8.8.8"
to the conf file but that didn't do the trick either.

What can I do to fix this?

Post Reply