how to get the hostname with ip address in cmd code example
Example 1: windows give an ip address a name
edit as an administrator:
C:\Windows\system32\drivers\etc\hosts
192.168.0.13 raspberry
Example 2: how to find the ip address of a remote device on network
Server: ns.indiana.edu
Address: 129.79.1.1
Name: indiana.edu
Address: 129.79.1.61