This article will explain how to find the hostname of a computer, connected in a LAN, using an IP address. Depending on the type of IP address - public or private - there are two different procedures. If you want to know how they work, keep reading.
How to find a hostname via public IP address?
In order to find the hostname of a computer with a public IP address, you have to pass the address to the Domain Name System (DNS) server. Here are the steps to follow:
- Click on the Window Start button.
- Click on “All Programs”.
- Click on “Accessories”.
- Right-click on "Command Prompt".
- Choose "Run as Administrator".
- Type “nbtstat -a <ip_address>”. Note that <ip_address> is the IP address of the computer.
How to find a hostname via private IP address?
Finding the hostname of a computer with a private IP address and no local DNS server means you need to query the host itself by using a Windows utility. Here are the steps to follow:
- Click on the Window Start button.
- Click on “All Programs”.
- Click on “Accessories”.
- A black box opens.
- Type "nslookup -a <ip_address>". Note that <ip_address> is the IP address of the computer.
Note that it is not necessary to know an IP address in order to find other systems if you have a WiFi LAN connection.
We hope that you find these solutions useful and that your question is answered!
Networks
- Cmd get computer name from ip
- Get computer name from ip
- How to find device name from ip address
- Cmd send message to ip > Guide
- How to change ip through cmd > Guide
- How to view and change my IP address: Windows, Linux, Mac > Guide
- How to turn on and use Wake on LAN on a PC? > Guide
- Windows networking commands: with examples, cheat sheet > Guide
- Cannot ping computer on same network: Windows 10, Windows 7
- TeamViewer sound sharing: Mac, Android, not working, Ubuntu
- Teamviewer start with Windows: missing, registry
- Set the right MTU: meaning, calculator, settings
- How to activate VoLTE in Vodafone India
- Unable to access http://192.168.0.1
- 192.168.1.1 - 192.168.0.1 IP address signification
- List open ports: Windows, Linux
- How to connect PCs with a Ethernet cable?
- Cups-pdf for Windows: driver, virtual PDF printer
- Activate Internet booster: Vodafone India
- How to crimp ethernet cable: RJ45 network cable
- Configure WinSCP: to save to an INI File
- Dell Inspiron Bluetooth drivers: installation
- Disable TeamViewer shutdown: greyed out, remote-shutdown
- The list of DNS servers of the major ISPs
- Find your mac address: Windows 10, Linux, Mac
- Network architecture: definition, in computer network
- Freebox "Router" mode
- How to share internet connection: Android