
30 Dec
2014
30 Dec
'14
2:24 p.m.
Wawrzek Niewodniczanski <main@wawrzek.name> escribió:
I have problem with not updated resolv.conf after plugin into VPN. VPN bases on openvpn and route is set properly. I see that openvpn pushes DNS settings as foreign-option, but /var/run/dhcpcd/resolve.conf.tun1 is not created. I tried do this manually, but it didn't work. Please advice how do you deal with mixtures of wireless, VPNs, DNS.
Hi Wawrzek, You might want to check the port "openresolv" in contrib. Then change your script to do this: Interface up: (print new resolv) | resolvconf -a "$dev" Interface down: resolvconf -d "$dev" I also have a Perl script that deals with this, I wrote it before I discovered openresolv. Regards, Alan Mizrahi