From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 14:51:14 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E50E316A4CE for ; Sat, 24 Jan 2004 14:51:14 -0800 (PST) Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 386DD43D31 for ; Sat, 24 Jan 2004 14:51:13 -0800 (PST) (envelope-from tiliescu@learn.senecac.on.ca) Received: from [192.168.2.101] ([64.229.155.201]) by tomts5-srv.bellnexxia.netESMTP <20040124225111.OAYD108.tomts5-srv.bellnexxia.net@[192.168.2.101]> for ; Sat, 24 Jan 2004 17:51:11 -0500 Date: Sat, 24 Jan 2004 17:51:11 -0500 (EST) From: Teodor Iliescu X-X-Sender: tiliescu@tosh5100.net To: freebsd-questions@freebsd.org In-Reply-To: <20040124173756.5F33.GERARD-SEIBERT@rcn.com> Message-ID: References: <20040124173756.5F33.GERARD-SEIBERT@rcn.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Problem With Configuring Name Servers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 22:51:15 -0000 Hello Gerard, This seems to be obvious enough. You are trying to statically assign your DNS search order, as well as static name servers, but you have your nic, rl0 on DHCP, which overwrites the file on boot-up, as you mention. What you should do is take off DHCP, in rc.conf file. Something like: ifconfig_rl0="inet 192.168.0.2 netmask 255.255.255.0" Above, you would set your static IP address. Hope this helps. On Sat, 24 Jan 2004, Gerard Seibert wrote: > I have the following in the resolv.conf file: > > domain rcn.com > nameserver 207.172.3.8 > nameserver 207.172.3.9 > > The following entry is in the re.conf file > > ifconfig_rl0="DHCP" > > Obviously, I am doing something incorrectly here. Why are these files > being rewritten upon rebooting of the machine, and how do I stop it. I > have a cable connection that uses "DHCP" . I have the latest release of > FreeBSD 5.2 installed. > > Thanks in advance. "Unix is simple, but it takes a genius to understand the simplicity." - Dennis Ritchie Teodor I. http://penguincomputing.iwarp.com GPG key fingerprint : 9AC8 A05C 78AD AD73 91DB CBE4 B644 F402 FBFD 5927