From owner-freebsd-questions@FreeBSD.ORG Mon Jan 15 18:32:26 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3895616A4A7 for ; Mon, 15 Jan 2007 18:32:26 +0000 (UTC) (envelope-from linuxquest7570@yahoo.com) Received: from web59203.mail.re1.yahoo.com (web59203.mail.re1.yahoo.com [66.196.101.29]) by mx1.freebsd.org (Postfix) with SMTP id 9298A13C4F3 for ; Mon, 15 Jan 2007 18:32:23 +0000 (UTC) (envelope-from linuxquest7570@yahoo.com) Received: (qmail 51733 invoked by uid 60001); 15 Jan 2007 18:32:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Z0WjJGCZUo941Mmd0iGKExAFwVr/mmJuvp3qvb6rWMPeHPoSTeAH6CXp9voDO1WZo0NDw22A27X9YgSJiRcBNIUGqLG5WaMctBSDRq/tVN2hN1BHrH3bdzVDjZDWtAtBQPFvcetq0DiKw6BOHYquK6M7Zqi/DEnZjcyNpk/cdh0=; X-YMail-OSG: tTHy_L8VM1kiSv0G.z0024eOV3tEx3f6jOnCkTUp6i8COuoZtiwCjJ8acSbW6.dilfaFrawYtRSV51gWKGjnp5ZKDegOtKeZRpEv9FoDskXMD_TDgYe4JUIGd2.rOnKuAI9fQocc25Y.3O2SGylEiqsoWlLeO4whz77S.fPrg7dD Received: from [218.111.155.187] by web59203.mail.re1.yahoo.com via HTTP; Mon, 15 Jan 2007 10:32:22 PST Date: Mon, 15 Jan 2007 10:32:22 -0800 (PST) From: linux quest To: Jay Chandler , freebsd-questions@freebsd.org In-Reply-To: <45ABC21E.1060802@chapman.edu> MIME-Version: 1.0 Message-ID: <765686.51596.qm@web59203.mail.re1.yahoo.com> X-Mailman-Approved-At: Tue, 16 Jan 2007 02:36:47 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: DNS Resolver Problem 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: Mon, 15 Jan 2007 18:32:26 -0000 Dear Jay, Thanks. That is exactly what I mean (sorry not explaining it properly). My network is DHCP enabled. When the lease expired, the resolver is also cleared out. Any ideas how I can configure a static DNS IP? Here is what I think may work (Please correct me if I am wrong)... Perhaps I should configure a static IP on this client using FreeBSD. May I know how can I do that, and at the same time, I would also like to disable DHCP enable settings. Thanks again. Regards, Linux Quest Jay Chandler wrote: linux quest wrote: > I have a problem with the DNS setting in FreeBSD. Every 1 hour, I will not be able to ping google.com (because I need to type in my ISP's DNS into /etc/resolv.conf) May I know what is the best solution for this, so that I do not have to type in my ISP's DNS to the resolver all the time? Perhaps, should I set a static IP configuration? If so, may I know which file should I modify? > > Thanks. > Their DNS changes hourly? What the heck ISP are you using that pulls such things? Or do you mean to say that you're on DHCP, and when it renews the lease it clears out DNS info? -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / chandler@chapman.edu Today's Excuse: emissions from GSM-phones --------------------------------- Don't get soaked. Take a quick peak at the forecast with theYahoo! Search weather shortcut.