# When the address of a server is available, use gethostbyaddr() to do a “reverse” lookup
# for the name.

import socket

hostname, aliases, addresses = socket.gethostbyaddr('10.9.0.10')
print('Hostname :', hostname)
print('Aliases :', aliases)
print('Addresses:', addresses)
eeeafcc45b7e2e8da1f73fd9de2bc01bec5f5fe5
<mask token>

<mask token>
print('Hostname :', hostname)
print('Aliases :', aliases)
print('Addresses:', addresses)

<mask token>
hostname, aliases, addresses = socket.gethostbyaddr('10.9.0.10')
print('Hostname :', hostname)
print('Aliases :', aliases)
print('Addresses:', addresses)

import socket
hostname, aliases, addresses = socket.gethostbyaddr('10.9.0.10')
print('Hostname :', hostname)
print('Aliases :', aliases)
print('Addresses:', addresses)

# When the address of a server is available, use gethostbyaddr() to do a “reverse” lookup
# for the name.

import socket

hostname, aliases, addresses = socket.gethostbyaddr('10.9.0.10')
print('Hostname :', hostname)
print('Aliases :', aliases)
print('Addresses:', addresses)