Resolve Hostname From IP Address

less than 1 minute read


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). 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.

  2. run => cmd => Type: ping -a (ip address)

  3. run => cmd => Type: nbtstat -a (ip address). This command has worked for me every time!