I want my PC (Debian Jessie, running OpenVPN) to only use my VPN DNS. My resolv.conf file looks like this:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.4.0.1
nameserver 192.168.0.1
search sitecomwl351
I only want it to use the 10.4.0.1 address for DNS. Trying to manually remove the 192.168 line is just a temporary fix, as the line will be automatically readded as soon as I turn the VPN connection off and back on. I don't know where it is coming from and how to turn it off, can't find a way to remove it in the Network Manager either.
Any ideas?