From owner-freebsd-questions@FreeBSD.ORG Thu Nov 29 23:59:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D98F416A41A for ; Thu, 29 Nov 2007 23:59:00 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id B4E1013C4E7 for ; Thu, 29 Nov 2007 23:59:00 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id lATNwx69025789; Thu, 29 Nov 2007 18:59:00 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Thu, 29 Nov 2007 18:58:57 -0500 User-Agent: KMail/1.9.7 References: <20071129230900.GC10829@belle.0lsen.net> In-Reply-To: <20071129230900.GC10829@belle.0lsen.net> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711291858.57922.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Clint Olsen Subject: Re: Getting DHCP to 'update' DNS records locally 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: Thu, 29 Nov 2007 23:59:00 -0000 On Thursday 29 November 2007, Clint Olsen wrote: > Apologies if this isn't the correct forum. I'd like to configure DNS on > my home network but make it work simultaneously with DHCP. So, when > hosts are plugged into the network and issued an IP, DNS is updated to > reflect the hostnames. That way I can refer to all my machines by name > in all databases and I can avoid hardcoding IP addresses. I know Windows > allows name-based recognition even in the instance you're using DHCP, but > I'd like it to work more generally with any type of machine on the > network. > > The problem is, when I search for terms related to this, I get hits for > DynDNS and all that stuff which is /not/ what I want. I'm not trying to > update a remote DNS record. This is just a local thing. > > If there's a lightweight DNS server that comes with a DHCP daemon, that > would be fine too. I just need to know where to start. You can do this fairly easily with isc-dhcp3-server and bind/named. The dhcpd.conf(5) manpage (from isc-dhcp3-server) goes into quite a bit of detail on how to set this up (including what to put in named.conf). JN