On Wed, Oct 03, 2007 at 09:53:29PM +0200, Joachim Schipper wrote:
> > Has anyone experienced a similar problem? Is there a way to make sure that 
> > dhclient does not overwrite my vpnc defined resolv.conf file? :-/
> 
> Wouldn't playing tricks [1] with /etc/resolv.conf.tail work?
> 
>               Joachim
> 
> [1] Copying the 'nameserver' lines from /etc/resolv.conf to
> /etc/resolv.conf.tail after vpnc has started, or somesuch.

Putting a public nameserver into resolv.conḟ.tail helped me
with PPTP-based VPN. I also used to lose DNS in some cases
whenever resolv.conf was overwritten by dhclient, e.g. if the
nameserver configured via DHCP had a non-public IP which was not
reachable due to my VPN config messing with the routing table.

-- 
stefan
http://stsp.name                                         PGP Key: 0xF59D25F0

Attachment: signature.asc
Description: Digital signature

Reply via email to