[H-GEN] Nicest way to maintain mac-IP-DNS mappings on local network?

Benjamin Fowler ben.fowler.bjf at gmail.com
Tue Oct 9 19:18:25 EDT 2012


Hello world,

On 10 October 2012 00:14, Russell Stuart <russell-humbug at stuart.id.au>wrote:

> On Tue, 2012-10-09 at 23:55 +0100, Benjamin Fowler wrote:
> > I've used the DHCP server running on the modem to dish out static IPs
> > to all my devices based on MAC address, which is a bit of a nuisance
> > to maintain -- I'm wondering if it would be easier to somehow set up a
> > bind9 and dhcp server on the Debian server to manage the MAC
> > address-to-IP-to-DNS for my local network in the one location.
> >
> > What's the best practice for doing that for a home network these days?
>
> I assume you are asking how to keep your DNS server and DHCP server in
> sync, so if your DHCP server hands out the address 192.168.10.10 to a
> computer that called itself "freds", fred.some.domain would resolve to
> 192.168.10.10 and a reverse lookup of 192.168.10.10 would return
> fred.some.domain?
>
> If so, ISC DHCP and ISC DNS (bind) support it out of the box.  Look up
> ddns-update-style in "man dhcpd.conf".  Make sure you also have
> appropiate "allow-update" clauses in your named.conf for the
> "some.domain" and "10.168.192.in-addr.arpa".
>
> This probably doesn't work for IPv6.  IPv6 is in a bit of a mess right
> now.  This isn't ISC's fault - the IETF has standardised things like
> dynamic updates for IPv6 yet.
>

Fantastic!  Thanks Russell!

I don't suppose there are any gotchas or caveats that I need to be aware
of, with respect to running avahi to advertise services to Macs over the
same network? I'm aware that zeroconf runs on different ports, but am
currently blissfully unaware of any potential pitfalls of doing regular
DDNS and zeroconf on the same network...

Cheers (and thanks!),

Ben.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20121010/4fe3d164/attachment.html>


More information about the General mailing list