I've a network which is mainly Windows: Windows 2008 server (with DNS/DHCP as well as AD), and various mainly Windows machines (servers, XP, 7). I know trying to add few Linux boxes, and can't make them appear on the DNS server.
I'm using Ubuntu 11.04 (both client and server). The Ubuntu boxes are NOT part of the Domain though Samba or anything.
I've seen many conflicting answers on the Internet, including this site: is the registration done by the Linux box or by the DHCP server?
I've tried on the following:
- On the Linux box, on
/etc/dhcp/dhclient.conf, I had:
send host-name "ubuntubox".
- Also tried fully qualified domains i.e.
send host-name "ubuntubox.mydomain.local(side question: which one is correct?)
- On the Windows Server, in the DHCP configuration, right click on the zone -> properties -> DNS tab -> ticked the last checkbox (Dynamically update ...).
Anyway ... nothing helped.
Another side question: Why do I have both
/etc/dhcp on my Linux box? Only the latter folder has
dhclient.conf (despite common remarks on the web).
sudo dhclient -r really the equivalent of
ipconfig /renew? As far as I can say it does nothing.