Re: DHCP and DNS
+---[ 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.
-Olaf
Reply to: