title: convert IP to hostname
body: <p>I want to write a python script to convert IP addresses to hostnames. I am using a Linux box.
  I don't see this information in whois command. Are there any commands that always give the correct hostnames (as accurately as possible)?</p>