Getting DHCP to 'update' DNS records locally

Daniel Bye freebsd-questions at slightlystrange.org
Thu Nov 29 19:55:21 PST 2007


On Thu, Nov 29, 2007 at 03:09:00PM -0800, 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.

dns/dnsmasq does exactly what you want.

Dan

-- 
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071130/4175cac3/attachment.pgp


More information about the freebsd-questions mailing list