I have several Raspberry Pi deployments that I want to be able to remotely query over the network for their hostname.
I've found that if I enable SMB via Samba that I can successfully query with a NetBios lookup. For security reason I would assume not to introduce SMB on these system for the sole purpose of hostname identification.
It should also be noted that these systems are not part of a domain and do not register with DNS.
Is there any known methods out there that will allow me to query an IP address and return the hostname (as defined in /etc/hostname) of a linux based system?