Hostname resolution in LAN?

This is the best solution (first post)