I've got an Ubuntu Server on my LAN. I can fully use it (samba, ssh, apache2, xmpp...) by using it's ip address. But I want to use the hostname to connect (e.g. ssh). When I do a nslookup with the ip address of the server, the answer is: name = noname (which is NOT the server's hostname ;-) Other hosts on the LAN are responding with the correct hostname.
Output of nslookup 10.0.0.24 (this is my ubuntu server): shows no hostname
Server: 127.0.1.1
Address: 127.0.1.1#53
24.0.0.10.in-addr.arpa name = noname.
Output of nslookup 10.0.0.21 (this is my raspberryPi): shows the right hostname.
Server: 127.0.1.1
Address: 127.0.1.1#53
21.0.0.10.in-addr.arpa name = retropie.
All hosts get their ip address over DHCP. So the hosts, who show their hostname correctly were never configured separately.