Re: DHCP and DNS
On Thu, 15 Jul 1999, Olaf Conradi wrote:
> +---[ On Jul 15, Will Lowe scribbled ]---
> | > 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?
> +--->8
>
> It's a private LAN (192.168.) within our organization, but in the
> future we might connect it to the internet.
>
> I just found something on this site about Dynamic DNS:
> http://simmons.starkville.ms.us/tips/081797/
>
> But i'm not sure if it's usefull for me.
The ISC DHCP v3 BETA server supports DNS updates, I have not looked at it
yet, but I assume that it uses dynamic dns with bind 8.
Jason
Reply to: