From owner-freebsd-questions@FreeBSD.ORG Thu Mar 16 21:45:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 9C99116A401 for ; Thu, 16 Mar 2006 21:45:45 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0240E43D5D for ; Thu, 16 Mar 2006 21:45:44 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.16.2.1] (unknown [172.16.2.1]) by strange.daemonsecurity.com (Postfix) with ESMTP id 7FA562E041; Thu, 16 Mar 2006 22:45:50 +0100 (CET) Message-ID: <4419DC82.1020300@locolomo.org> Date: Thu, 16 Mar 2006 22:45:38 +0100 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Thunderbird 1.5 (X11/20060312) MIME-Version: 1.0 To: Duane Whitty References: <4419D8C9.4010005@greenmeadow.ca> In-Reply-To: <4419D8C9.4010005@greenmeadow.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: resolv.conf getting rewritten at system startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2006 21:45:45 -0000 Duane Whitty wrote: > I use DHCP to configure my network interface. > At startup my resolv.conf is overwritten, setting my > nameserver to the address of the router running DHCP. dhclient, also the new one updates /etc/resolv.conf with the information received from the dhcp server. You can change things by configuring dhclient editing /etc/dhclient.conf see dhclient.conf(5) and dhcp-options(5) Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9