From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 18:59:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BFBC1065680 for ; Mon, 14 Jul 2008 18:59:26 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) Received: from csmtp1.b-one.net (csmtp1.one.com [195.47.247.21]) by mx1.freebsd.org (Postfix) with ESMTP id 4C49B8FC21 for ; Mon, 14 Jul 2008 18:59:26 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) Received: from diamond.diamondbox.dk (83.74.5.59.ip.tele2adsl.dk [83.74.5.59]) by csmtp1.b-one.net (Postfix) with ESMTP id 33F2A98826C9 for ; Mon, 14 Jul 2008 20:43:37 +0200 (CEST) Message-ID: <487B9E53.9000606@diamondbox.dk> Date: Mon, 14 Jul 2008 20:43:31 +0200 From: Nikolaj Thygesen Organization: diamondbox.dk User-Agent: Thunderbird 2.0.0.14 (X11/20080607) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: MPD5 + dhclient: Problem adding dns and search domain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2008 18:59:26 -0000 Hi list, I finally managed to establish a PPTP VPN connection to my employer using mpd5. My problem now is that in order for the setup to work properly I need to supersede search domain and dns'es in "/etc/resolv.conf" either by hand or by editing "dhclient.conf". If I use "dhclient.conf" the VPN stuff is added way too soon, as I don't want to run mpd5 all the time, and consequently do it by hand. A couple of things slow down noticeably when being unable to reach the search domain. I can't imagine I'll have to edit "resolv.conf" by hand every time - also it's being overwritten once in a while anyway - probably by the dhcp daemon. What's a good man to do here?? thanks - Nikolaj Thygesen