DHCP issues
-
I'm using static dhcp leases on my lan network to issue static ip to 2 machines. however when I turn on the dns fowarder option to register the DHCP leases (so that their hostnames can be resolved by the dns fowarder) the hostnames of these machines cannot be resolved.
When I use static arp but allow an ip address to be allocated from the pool it works fine! the hostnames get registered and can be resolved.
All other machines gets their hostnames registered except for those two that I assigned a static lease.
Is this how it suppose to work? and if so is there a workaround?even though the ip address of some machines are statically leased I don't think everyone on the lan will remember the ip address so suggesting that won't solve my problem.
I'm using:
1.0-BETA1-TESTING-SNAPSHOT-2-8-06
built on Wed Feb 8 23:02:48 UTC 2006 -
A workaround is to add the IPs and the hostnames to the DNS forwarder as the IPs are static this way.
-
ok thanks.. I tried editing the /etc/hosts file.. (even though a bad idea) I found that it was rewritten at reboot.
-
A workaround is to add the IPs and the hostnames to the DNS forwarder as the IPs are static this way.
I have to follow the same workaround on 1.0 RC2 to get this to work. Isn't this a problem? It seems to me that setting a static lease should make it easier for the router to find a particular client. Configuring a DNS override for each static DHCP lease is a bit of a hassle and will only lead to configuration errors as networks grow and change.