Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 16:34:39 +0100
From:      Simon Dick <simond@irrelevant.org>
To:        Philip Pereira <info@wintellect.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP causing resolv.conf to change
Message-ID:  <20020407153439.GH2423@irrelevant.org>
In-Reply-To: <000701c1de48$d5ad4ac0$468a01d4@wintellect.com>
References:  <000701c1de48$d5ad4ac0$468a01d4@wintellect.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020407153439.GH2423>