From owner-freebsd-questions@FreeBSD.ORG Tue Jan 9 16:06:51 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 521FD16A4A0 for ; Tue, 9 Jan 2007 16:06:51 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id CFA7B13C459 for ; Tue, 9 Jan 2007 16:06:50 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 15832 invoked by uid 0); 9 Jan 2007 16:06:49 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp6.knology.net with SMTP; 9 Jan 2007 16:06:49 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id E9C512841F; Tue, 9 Jan 2007 10:06:48 -0600 (CST) Date: Tue, 9 Jan 2007 10:06:48 -0600 From: David Kelly To: freebsd-questions@freebsd.org, petern@africaonline.co.zw Message-ID: <20070109160648.GC35137@Grumpy.DynDNS.org> References: <200701091728.39012.petern@africaonline.co.zw> <200701091557.l09FvVpU017494@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701091557.l09FvVpU017494@lurza.secnetix.de> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: Automatically get nameservers 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, 09 Jan 2007 16:06:51 -0000 On Tue, Jan 09, 2007 at 04:57:31PM +0100, Oliver Fromme wrote: > Peter Nyamukusa wrote: > > Kirk Strauser wrote: > > > George Vanev wrote: > > > > I want Windows client machines, connected to the FreeBSD box > > > > to get the nameservers automatically. > > > > Can you tell me how this may be done?! > > > > Regerds > > > > > > I think the best solution would be to configure the FreeBSD box as a > > > caching nameserver, then point all your windows boxes to it. > > > > I think you will need to have DHCP running in your network as DHCP is the only > > way to automatically get nameservers regardless of the OS you are using > > No, you don't need DHCP in the case George described. > As Kirk explained you can simply set up a name server > on the FreeBSD machine (just one line in /etc/rc.conf), > then let the Windows machines use that name server. > No DHCP required at all. But for the Windows machines to "get the nameservers automatically" one has to set up DHCP somewhere. On the FreeBSD machine. Or on a SOHO router. Somewhere. It Just So Happens(sm) that if you do this the Windows machines will also get IP addresses automatically. The problem gets a little harder if you do not want just anyone who connects to your network to be given an address. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.