From owner-freebsd-questions Wed Mar 13 15: 5:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (115-7-237-24-cable.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 7637837B42A for ; Wed, 13 Mar 2002 15:05:27 -0800 (PST) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 3F2C5F8; Wed, 13 Mar 2002 14:05:21 -0900 (AKST) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Server Admin , freebsd-questions@freebsd.org Subject: Re: Stop overwrite of resolv.conf Date: Wed, 13 Mar 2002 14:05:20 -0900 X-Mailer: KMail [version 1.3] References: <3.0.5.32.20020313164008.01178868@mail.sage-one.net> In-Reply-To: <3.0.5.32.20020313164008.01178868@mail.sage-one.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020313230521.3F2C5F8@nebula.anchoragerescue.org> 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 Wednesday 13 March 2002 01:40 pm, Server Admin wrote: > On reboot, my resolv.conf gets (partially) overwritten and I don't want it > to do that. I know there is a way to stop this. This very thing was > answered several months ago, but I cannot locate the answer. Please.... > anyone? > .... our website: http://www.sage-one.net/ > > Best regards, > > Jack L. Stone > Server Admin > If this is because of DHCP issues add the following to /etc/dhclient.conf. interface "ep0" { supersede domain-name "yourdomain.com"; prepend domain-name-servers 111.222.333.444; } see man dhclient.conf for more details 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