Quantcast
Channel: SEM plus SEO » Hostname
Viewing all articles
Browse latest Browse all 2

How to Find a Hostname for an IP Address?

$
0
0
facebooktwittergoogle_pluslinkedinrssfoursquare

To find the hostname of a computer with a public IP address is very easy – by passing the address to any Domain Name System (DNS) server.

But since most computers have private IP addresses, we can only discover their hostnames if the network has a local DNS server. To discover the hostname of a computer with a private IP address and no local DNS server, you need to use a Windows utility to query the host itself.

 

How to find the hostname of a computer with a private IP address and local DNS server:

  1. Click the Windows Start button, then “All Programs” and “Accessories.” Right-click on “Command Prompt” and choose “Run as Administrator.”
  2. Type “nslookup %ipaddress%” in the black box, substituting %ipaddress% with the IP address for which you want to find the hostname.
  3. Locate the line labeled “Name” underneath the line with the IP address you entered. The value next to “Name” is the hostname of the computer.

 

How to find the hostname of a computer with a private IP address and without local DNS server:

  1. Click the Windows Start button, then “All Programs” and “Accessories.” Right-click on “Command Prompt” and choose “Run as Administrator.”
  2. Type “nbtstat -A %ipaddress%” at the command prompt in the black window that opens, substituting the IP address for “%ipaddress%.”
  3. Find the NETBIOS table in the results. Locate a row where the type is “UNIQUE” and find the hostname of the computer in the “Name” column for that row.
facebooktwittergoogle_pluslinkedinmail

The post How to Find a Hostname for an IP Address? appeared first on SEM plus SEO.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>