I've configured Samba and a LAMP server on a machine running Ubuntu 9.04 Desktop, and want to insure that other computers on our network can always access the samba and web services on that machine by it's name. Let's say the name of the host is, "buildmachine1". I want Windows clients to be able to access samba shares with "\buildmachine1\developersproject1" or web services at "http://buildmachine1/websvn"
buildmachine1 is connected to our LAN, which is a part of a much larger Windows network. This larger network is managed by a super-powerful beings that live in an unreachable galaxy and out-source their network adminstrative tasks to super-powerful being that live in another unreachable galaxy. Bottom-line, buildmachine1 nor any being/user has permission to join the Windows domain.
My limited experience, and this issue, hint that a machine must be a member of a domain to be accessible by it's name. All developers can access the machine by it's IP address, but that address changes periodically, so if we've mapped drive letters to the IP address or configured our subversion clients to access repositories via http://192.168.99.99/svn, we obviously must reconfigure everything when the IP changes.
Considering the circumstances and platforms, how can we reliably access the machine by it's name instead of ever-changing IP address?