title: Get Hostname from IP Address
body: <p>My problem is to match IP address to its hostname.</p>
  
  <p>If the IP address is a public IP then a simple <code>socket.gethostbyaddr(ip)</code> solves it but 
  my problem is with private IP i.e. IP of a network.</p>
  
  <p>How can I get host names from a network IP address? Is there a way to find out hostname or not?</p>
  
  <p>I'm trying to do this on Linux.</p>