From owner-freebsd-questions Wed Apr 11 22:41:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 8716B37B50E for ; Wed, 11 Apr 2001 22:41:06 -0700 (PDT) (envelope-from akbeech@anchoragerescue.org) Received: from galaxy.anchoragerescue.org (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id C77954D9; Wed, 11 Apr 2001 21:41:01 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Leonard Zettel , "freebsd-questions@FreeBSD.ORG" Subject: Re: resolv.conf overwrite Date: Wed, 11 Apr 2001 21:41:01 -0800 X-Mailer: KMail [version 1.2] References: <3AD51271.25615AEB@acm.org> In-Reply-To: <3AD51271.25615AEB@acm.org> MIME-Version: 1.0 Message-Id: <0104112141010B.04392@galaxy.anchoragerescue.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday 11 April 2001 18:26, 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 Add the following to /etc/dhclient.conf: interface "ep0" { supersede domain-name-servers 204.254.120.6, 204.254.120.7; } Change ep0 to whatever your NIC is and include the " " Beech -- ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message