I have 'n' numbers of internal private IP address in my organization which are not identified. I want to find information regarding those unidentified IP address like what is the hostname, what kind of device it is (server, router, switch etc) and any other information that will be helpful.
I am planning to use PHP to get the hostname of the server using the following code:
<?php echo gethostbyaddr($ipAddress); ?>
How can I find other informations about the IP address.
Note: Ideas other than PHP are also welcome.