I couldn't get openvpn to update resolv.conf. No matter how I tried. But then I made a script which I start from openvpn.conf with the up- and down- which on -up copy vpn-dns ip:s to resolve.conf and on -down copy Non-DNS ip:s to resolve.conf. I havn't read about this solution on the net but it works. But I'm no security expert, is this a good idea?
I need dns servers to get a connection to my vpn provider, and when I get connection I switch to their dns server (10.8.0.1).
I need dns servers to get a connection to my vpn provider, and when I get connection I switch to their dns server (10.8.0.1).