From owner-freebsd-questions Wed Apr 11 19:43:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from waterfall.typhoon.co.jp (waterfall.typhoon.co.jp [202.33.21.60]) by hub.freebsd.org (Postfix) with ESMTP id C617037B423 for ; Wed, 11 Apr 2001 19:43:39 -0700 (PDT) (envelope-from fbsd@typhoon.co.jp) Received: from typhoon.co.jp (thunder.waterfall.typhoon.co.jp [192.168.3.23]) by waterfall.typhoon.co.jp (8.11.3/8.11.3/waterfall) with ESMTP id f3C2hZ614078; Thu, 12 Apr 2001 11:43:36 +0900 (JST) Message-ID: <3AD51655.871D49A3@typhoon.co.jp> Date: Thu, 12 Apr 2001 11:43:33 +0900 From: Reg Organization: Typhoon, Inc. X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en,ja,zh-TW,ko MIME-Version: 1.0 To: freebsd-questions@freebsd.org Cc: Leonard Zettel Subject: Re: resolv.conf overwrite References: <3AD51271.25615AEB@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! My guess is that you're using DHCP? If so, then resolve.conf is overwritten at boot time to reflect the information given out by the DHCP server. Reg. Leonard Zettel wrote: > Following The Complete FreeBSD p 480 I created the following > /etc/resolv.conf > > # Changed by Len Zettel 4/11/01 > #----------removed------------- > # search > # nameserver 192.168.0.185 > # ------------------------------ > # ---------Added--------------- > domain Oz. > nameserver 204.254.120.6 # Bignet primary nameserver > nameserver 204.254.120.7 # Bignet secondart nameserver > #------------------------------------------------------ > > I was then happy as a clam at high tide at being able > to ping domain names on the net. :-) > This looked like PROGRESS! (One step at a time division). > > Then I rebooted :-( > > /etc/resolv.conf now contained > > search > nameserver 192.168.0.185 > > Tentative conclusion: something in the boot sequence > is fooling with (probably creating) /etc/resolv.conf > > So, what do I change to stop this? Or should I not > be trying to stop it? And doing something else entirely? > And where can I read about THAT? > > My access to the net is via DSL with a Windows machine as gateway > running a package calle SyGate. (Yes, technically DUMB, DUMB, DUMB) > except for one thing: it works. Even I got it working. When (not IF, > optimist that I am) I get Free BSD running well under this setup > we'll work on changing it. Hopefully a step at a time. > Thanks for reading. > -LenZ- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message