How to find out the computer name using IP address?

Asked 08-Oct-2018
Viewed 646 times

0

1 Answer


0

Querying DNS

1. Select 'All Programs' and 'Accessories' from the Windows Start menu. Choose 'Run as Administrator' from the context menu when you right-click 'Command Prompt.'

2. In the black box that appears on the screen, type 'nslookup%ipaddress%', replacing %ipaddress% with the IP address for which you want to find the hostname.

3. Under the line with the IP address you provided, look for the line labeled 'Name' and note the value next to 'Name' as the computer's hostname.

Without DNS

1. Select 'All Programs' and 'Accessories' from the Windows Start menu. When you right-click 'Command Prompt,' select 'Run as Administrator' from the context menu.

2. In the dark box that appears, type 'nbtstat -A %ipaddress% ' at the command prompt, substituting the IP address for ' %ipaddress%.'

3. Look over the findings and look for the NETBIOS table. Find a row with the type 'UNIQUE' and the computer's hostname in the 'Name' column for that row.