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