You can discover a Computer Name (Hostname) with IP Address
Method 1. Find Computer Name in DNS Network Environment
Step 1. Click the Windows Start button, then search by CMD & right-click on Command Prompt & run as administrator
Step 2. Type command – “nslookup %ipaddress%” & Press Enter button
Example:- C:\WINDOWS\system32>nslookup 192.168.1.10
Step 3. Find the line labeled with “Name” -> That is your remote computer Name

Method 2. Find Computer Name in NON-DNS Network Enviourment (Local Network)
Step 1. Click the Windows Start button, then search by CMD & right-click on Command Prompt & run as administrator
Step 2. Type command – “nbtstat -a %ipaddress%” & Press Enter button
Example:- C:\WINDOWS\system32> nbtstat -a 192.168.1.10
Step 3. Find the line labeled with “NetBIOS Remote Machine Name Table” ->That is your remote computer Name

Method 3. Find Computer Name Local & DNS network Enviourment
Step 1. Click the Windows Start button, then search by CMD & right-click on Command Prompt & run as administrator
Example:- C:\WINDOWS\system32> ping -a 192.168.1.10
Step 2. Type command – “ping -a %ipaddress%” & Press Enter button
Step 3. Find the First line labeled with “Pinging “Computer Name”” ->That is your remote computer Name
