From owner-freebsd-questions Mon Oct 28 21:35:49 2002 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 6143337B401 for ; Mon, 28 Oct 2002 21:35:48 -0800 (PST) Received: from ncsmtp03.ogw.rr.com (ncsmtp03.ogw.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC00543E6E for ; Mon, 28 Oct 2002 21:35:47 -0800 (PST) (envelope-from ETHORNTON@nc.rr.com) Received: from mail8.nc.rr.com (fe8 [24.93.67.55]) by ncsmtp03.ogw.rr.com (8.12.5/8.12.2) with ESMTP id g9T5ZTiZ026928; Tue, 29 Oct 2002 00:35:29 -0500 (EST) Received: from Nicoya ([66.26.236.202]) by mail8.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Tue, 29 Oct 2002 00:35:29 -0500 Message-ID: <001c01c27f0d$03c575d0$0200a8c0@Nicoya> From: "Eric Thornton" To: "Paulo Roberto" Cc: References: <20021028221148.4304.qmail@web14909.mail.yahoo.com> Subject: Re: dhcp option to *not* overwrite /etc/resolv.conf Date: Tue, 29 Oct 2002 00:35:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 add this to your /etc/dhclient.conf interface "(outside interface)" { supersede domain-name-servers (preferred DNS); } you can alternately use prepend domain-name-servers to add your DNS to the TOP of the resolv.conf list. ----- Original Message ----- From: "Paulo Roberto" To: Sent: Monday, October 28, 2002 5:11 PM Subject: dhcp option to *not* overwrite /etc/resolv.conf > Hi, > > I have read the man pages, searched a few forums, but I did not found a > way to prevent dhcp to do not change my /etc/resolv.conf. I do not have > access to the dhcp server configuration, so I need to change it on my > client. I also tried to chmod it to only read mode, but that did not > work out. Any tips? > > thanks > > Paulo > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message