Resolve Hostname From IP Address

less than 1 minute read

Description:

Have you ever wanted to get a hostname from IP address? It seems easy, but for some reason you may not remember the exact commands to run. Not to fear, here are a couple to help:

 

To Resolve:

  1. Run – cmd – Type: nslookup (ip address)

NOTE: This is the most common method. It assumes that you your DNS server has a forward lookup entry for the host you are querying, which will not always return anything.

  1. Run – cmd – Type: ping -a (ip address)

  2. Run – cmd – Type: nbtstat -a (ip address)

NOTE: This command has worked for me every time!