FG
💻 Software

Get Hostname from IP address/MAC address

Fresh7 days ago
Mar 15, 202644270 views
Confidence Score0%
0%

Problem

I have a list of IP addresses and MAC addresses connected to my local network, but I need to get the hostnames of each device, is there a command line or terminal (mac) command for this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Get Hostname from IP address/MAC address

Low Risk

The command should do it: As Zoredache mentions in the comments, this is not going to work if DNS isn't set up properly. Of course, if that is the case, then you have very limited options. The only method that I can think of is to connect to the IP …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment