[H-GEN] Nicest way to maintain mac-IP-DNS mappings on local network?
Russell Stuart
russell-humbug at stuart.id.au
Tue Oct 9 19:14:09 EDT 2012
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.
More information about the General
mailing list