Hi, I am using vpnc and have problems with my /etc/resolv.conf being functionally empty after closing vpnc (also when it dies): $ cat /etc/resolv.conf # Generated by resolvconf $ vpnc-script parses DNS info from a remote server and overwrites the /etc/resolv.conf file. This works fine but when vpnc dies/exits it does not restore the /etc/resolv.conf file to the previous state because there is no /etc/resolv.conf-backup file existing. Don't get me wrong. the etc/resolv.conf is filled with coorect values when the vpnc connection is made, it just does not restore to previous state during exit.
Could you please report this suggestion to dwmw2@infradead.org ? We are taking the script from him.
An upstream commit r519 adds support for resolv.conf. We should probably provide an updated ebuild for up to r527: http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2013-March/thread.html Unfortunately I have no Cisco access anymore. Those having time to test one could play with a Cisco emulator: http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2013-March/003899.html .
thanks for tracking upstream. I will look into that soonish.
vpnc-0.5.3_p527 (14 Mar 2013) 14 Mar 2013; Justin Lecher <jlec@gentoo.org> +vpnc-0.5.3_p527.ebuild, metadata.xml: Bump to latest upstream rev, fix resolv.conf handling, #406141; fix test, #442174; add myself as maintainer