[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP and DNS



> How can I tell the nameserver which IP addresses DHCP has assigned to
> the hosts so the names get resolved to the correct IP?

Probably the only way I can think of is to remake the dns databases and
restart named every time you renew a DHCP lease.  I don't know if dhcpd
allows you to run a command after a lease is assigned,  but you could just
run a cron job which remakes the .db files every five minutes,  and tell
people that thier hostnames won't resolve for five minutes after they
boot.

... this would mean that you'd have to set your TTL for your DNS entries
to five minutes,  which might get out of hand.  Is your LAN connected to
the Internet?
 



Reply to: