I have a linux machine on my university network where I usually log in via ssh from home. I have know the ip, so this is what I use to log in, but it would convenient to know if my computer have a hostname on the local network (it's easier than remembering the ip).
I set up a hostname when I installed linux on my pc, but it's not the name associated with that ip on the network. Is there a way to find out if there's a name associated with that ip?