From owner-freebsd-questions Sun Apr 7 8:34:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nelly.internal.irrelevant.org (irrelevant.demon.co.uk [158.152.220.121]) by hub.freebsd.org (Postfix) with ESMTP id B74AA37B417 for ; Sun, 7 Apr 2002 08:34:47 -0700 (PDT) Received: from simond by nelly.internal.irrelevant.org with local (Exim 3.35 #1) id 16uEgh-0002av-00; Sun, 07 Apr 2002 16:34:39 +0100 Date: Sun, 7 Apr 2002 16:34:39 +0100 From: Simon Dick To: Philip Pereira Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP causing resolv.conf to change Message-ID: <20020407153439.GH2423@irrelevant.org> References: <000701c1de48$d5ad4ac0$468a01d4@wintellect.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000701c1de48$d5ad4ac0$468a01d4@wintellect.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 07, 2002 at 04:27:57PM +0100, Philip Pereira wrote: > Hey all, > > My server box acts as a gateway and local DNS via a modem. I start it with > the command: > > ppp -auto -nat papchap > > This works great, however, it automatically removes lines from my > resolv.conf file - can I stop this from happening. > > For example it contains the line: > > nameserver 127.0.0.1 > > This is to allow hostname lookup locally, however, this gets deleted > EVERYTIME I connect to the internet with ppp - how can I stop this????? If you're using config from /etc/ppp/ppp.conf, remove "enable dns" to stop it overwriting your resolv.conf -- Simon Dick simond@irrelevant.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message