From owner-freebsd-questions Thu May 30 22: 2:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 5D03E37B400 for ; Thu, 30 May 2002 22:02:41 -0700 (PDT) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id B5E1B2B6BA; Fri, 31 May 2002 07:02:34 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id 2951A6A711E; Fri, 31 May 2002 15:02:25 +1000 (EST) Date: Fri, 31 May 2002 15:02:25 +1000 From: Edwin Groothuis To: Carolyn Longfoot Cc: freebsd-questions@freebsd.org Subject: Re: DNS/DHCP Irritation Message-ID: <20020531150225.B552@k7.mavetju> Mail-Followup-To: Edwin Groothuis , Carolyn Longfoot , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from c_longfoot@hotmail.com on Thu, May 30, 2002 at 10:02:35PM -0400 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 Thu, May 30, 2002 at 10:02:35PM -0400, Carolyn Longfoot wrote: > Now that I have my own DNS server running I noticed an annoying issue: I get > my static IP from the DHCP server that's built into the DSL gatway. The DHCP > server always gives me the same IP but the effect is that whenever the lease > expires, /etc/resolv.conf gets rewritten and the entry that points to my > local DNS server is lost. Check dhclient.conf(5) and search for supersede and/or SAMPLE. That will give yiou all the info needed to solve it. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message