From owner-freebsd-questions@FreeBSD.ORG Tue Jan 16 03:16:45 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 3374B16A40F for ; Tue, 16 Jan 2007 03:16:45 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 11B6413C448 for ; Tue, 16 Jan 2007 03:16:45 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0G3Gijk007949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 15 Jan 2007 19:16:44 -0800 X-Auth-Received: from [192.168.2.15] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0G3GhUa003933 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Mon, 15 Jan 2007 19:16:44 -0800 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <765686.51596.qm@web59203.mail.re1.yahoo.com> References: <765686.51596.qm@web59203.mail.re1.yahoo.com> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Mon, 15 Jan 2007 19:16:41 -0800 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.2) X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.1.15.190432 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__C230066_P5 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' 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: Tue, 16 Jan 2007 03:16:45 -0000 On Jan 15, 2007, at 10:32 AM, 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 Secret I'm guessing is just to.. 1. Setup your Win2k3 install properly, network-wise. If you clicked the interface, went to TCP/IP settings, properties, then scrolled down to the DNS section you can setup the DNS server IPs statically so this doesn't occur all the time. 2. Set the vmware preferences up so the IP would be static behind the NAT with the information in the NAT and then setup your info in / etc/rc.conf properly (search for interface_ in man rc.conf). Cheers, -Garrett