Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2007 18:58:57 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Clint Olsen <clint.olsen@gmail.com>
Subject:   Re: Getting DHCP to 'update' DNS records locally
Message-ID:  <200711291858.57922.lists@jnielsen.net>
In-Reply-To: <20071129230900.GC10829@belle.0lsen.net>
References:  <20071129230900.GC10829@belle.0lsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711291858.57922.lists>