I have several machines with static IPs on my network, plus a couple that use DHCP.
I've hit a couple of oddities in Amahai's handling of DHCP/DNS which I really don't understand.
First, the machine called box2. This is a desktop machine, using DHCP. For some reason, Amahi has not picked up its hostname, and shows it as a static IP (192.168.1.109) and gives it the name h109.
Second, I'm experimenting with a new server - its an SMS machine (http://sms.it-ccs.com/), which I want for a customer. I've reinstalled it a couple of times, and set it up as a static IP in the Amahi dashboard. On the last reinstall, I inadvertently changed its hostname, so I went into the Amahi Dashboard, deleted the original static IP and recreated it with the new hostname. However, I had to restart the Amahi server before the new hostname was propagated to the network. Even from the Amahi machine, I could not resolve the new hostname.
Another oddity - at the moment, I'm using my laptop (wireless connection, using DHCP), but, even though the Amahi machine is both DHCP and DNS server, the Amahi Dashboard is showing no DHCP clients, and doesn't seem to recognize the laptop at all (even though I'm logging in from it...).
Is there a way of flushing the DNS cache so that things like the newly assigned static IP are propagated (without restarting the Amahi machine)? Also, is there a way of preventing the Dashboard from losing track of the DHCP clients?
Paul.
DHCP/DNS oddity
-
- Posts: 31
- Joined: Tue Mar 16, 2010 4:23 pm
- Location: Oxfordshire, UK
Re: DHCP/DNS oddity
We are aware that sometimes strange things happen with these two. To flush the DNS cache, see http://wiki.amahi.org/index.php/Changin ... S_provider. The last entry give you the command.
As for the Hostname issues, I had that happen occasionally. Sometimes restarting the DHCP or DNS server fixes it. You can do that from the dashboard under the settings tab, servers option.
There is a bug filed for some DHCP not propagating on the dashboard screen.
http://bugs.amahi.org/issues/show/460
Hope that helps.
As for the Hostname issues, I had that happen occasionally. Sometimes restarting the DHCP or DNS server fixes it. You can do that from the dashboard under the settings tab, servers option.
There is a bug filed for some DHCP not propagating on the dashboard screen.
http://bugs.amahi.org/issues/show/460
Hope that helps.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 31
- Joined: Tue Mar 16, 2010 4:23 pm
- Location: Oxfordshire, UK
Re: DHCP/DNS oddity
Thanks. I'll give that a try and see what it does.....We are aware that sometimes strange things happen with these two. To flush the DNS cache, see http://wiki.amahi.org/index.php/Changin ... S_provider. The last entry give you the command.
Had a look at the bug - looks pretty much like what I'm seeing. I can add an odd twist to it though...As for the Hostname issues, I had that happen occasionally. Sometimes restarting the DHCP or DNS server fixes it. You can do that from the dashboard under the settings tab, servers option.
There is a bug filed for some DHCP not propagating on the dashboard screen.
http://bugs.amahi.org/issues/show/460
I had one machine show up as a static IP (shown as h109 in the static listing in the dashboard). Thinking it was the machine that wasn't showing up in the DHCP listing, I tried 'ssh root@h109' and was able to access the machine on 192.168.1.109. However, when I went to check the details of the static IP, I found that it had an IP of 192.168.1.4. I think that might have been a static IP I used for testing e-box a while ago, though where the 'h109' came from I have no idea. I deleted the static, and lost everything in the DHCP listing in the dashboard. Its back tonight, and correct this time. I'll see about adding some extra details for your bug, since it looks like its related.
It does, thanks.Hope that helps.
Paul.
Who is online
Users browsing this forum: Yandex [Bot] and 27 guests