bind and dhcp updates
Simon Hobson
shobson0309 at colony.com
Thu Oct 30 14:04:54 UTC 2003
Scott Ware wrote:
>Is there any good way to have a dhcp server dynamically update the dns
>records with new dhcp clients' addresses?
Short answer : tell the DHCP server to do dynamic updates.
Less short answer :
Configure the DHCP server to do dynamic updates. For the ISC server
this means adding the statement "ddns-update-style interim ;".
Depending on your configuration you may need to do one or both of the
following steps : generate a TSIG key and configure the DHCP server
to use it, and tell the dhcp server where the authoritative DNS
servers for each zone are to be found (by adding zone declarations to
dhcpd.conf). Man dhcpd.conf is a good place to start, as is the
excellent book "The DHCP Handbook" by Ted Lemon and Ralph Droms".
On the DNS end, you must also configure the DNS server to accept
dynamic updates. This can be restricted by IP address, or by TSIG
keys. Whether a zone may be updated can be controlled on a zone by
zone basis, so you can have some zones updateable, and others not.
Again, assuming you are using bind, man named.conf would be a good
starting place, as would the book "DNS & BIND by Albitz & Liu".
Simon
--
NOTE: This is a throw-away email address which will reach me for as
long as it stays spam-free, remove date for real address.
Simon Hobson, Technology Specialist
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101
Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.
More information about the bind-users
mailing list