How do I show hostnames instead of IP addresses in the dashboard?

A post was split to a new topic: Windows PC is displayed with IP instead of hostname