From owner-freebsd-questions@FreeBSD.ORG Mon Jan 15 19:37:03 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 7317216A407 for ; Mon, 15 Jan 2007 19:37:03 +0000 (UTC) (envelope-from linuxquest7570@yahoo.com) Received: from web59201.mail.re1.yahoo.com (web59201.mail.re1.yahoo.com [66.196.101.27]) by mx1.freebsd.org (Postfix) with SMTP id 1C57313C44C for ; Mon, 15 Jan 2007 19:37:02 +0000 (UTC) (envelope-from linuxquest7570@yahoo.com) Received: (qmail 7843 invoked by uid 60001); 15 Jan 2007 19:37:02 -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=TMeSqdWj2uHdnlxu4inb2YB8wFdHp/hD1qCOAK1F2JTij3vf6xx7RWKY1CumwAbmAR0te1UOUM/mIqscfcfXia7g6uC2+6hVc5gi8d/zgaC3JX/jZjnLVeCeBfCeQOg1jJTRmvyLAxHcL0zcPs4Z1tRjV8kUDgUtN1FAN38wV1o=; X-YMail-OSG: jtGidlIVM1lZB_RqtXKiIDOAnMl4_X2U8tUwWy7k Received: from [218.111.155.187] by web59201.mail.re1.yahoo.com via HTTP; Mon, 15 Jan 2007 11:37:02 PST Date: Mon, 15 Jan 2007 11:37:02 -0800 (PST) From: linux quest To: Jay Chandler , freebsd-questions@freebsd.org, linuxquest7570@yahoo.com In-Reply-To: <45ABCB22.2020809@chapman.edu> MIME-Version: 1.0 Message-ID: <383860.7305.qm@web59201.mail.re1.yahoo.com> X-Mailman-Approved-At: Tue, 16 Jan 2007 02:32:57 +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 19:37:03 -0000 Dear Jay, Actually, I am running FreeBSD Unix on a VMWare machine (Host OS: Win2003, Guest OS: FreeBSD). Any ideas how I can disable / ignore the routing from the VMnet8? Below are the only VMWare NAT configuration that I have access to. No DHCP enable / disable option. Ethernet adapter VMware Network Adapter VMnet8: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.52.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.52.2 When I install FreeBSD, I remember I did select some option to enable DHCP. Perhaps, I should disable the DHCP service in FreeBSD(Guest OS) - if so, any idea how do I do it? Thanks :) Regards, Linux Quest Jay Chandler wrote: linux quest wrote: > 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 > Simple enough to do-- first off, is this box running under a router or some such that you control, or is it getting a public IP through your ISP? If the latter, setting a static IP might come back to haunt you. I suspect from the way you describe it, that you control a local router that's giving bogus DNS information out with its DHCP lease, in which case the simplest fix is to adjust said router so it Doesn't Do That (tm). In any case: http://www.freebsddiary.org/resolv.php should help you out. -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / chandler@chapman.edu Today's Excuse: emissions from GSM-phones --------------------------------- We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list.