2

I'm trying to figure out how to find the hostnames of computers on the LAN network. I put in the known address of a computer, but I'm getting an error I don't understand.

michaelsavich@noranetserver:~$ host 10.1.10.10
10.10.1.10.in-addr.arpa has no PTR record

Both computers are on the same LAN, so the issue isn't with port forwarding or anything. For the record, the computer I ran host on was running Ubuntu Server 14.04 LTS, and 10.1.10.10 should belong to a MacBook.

PopKernel
  • 419

3 Answers3

1

I would use nmap to do ping scanning (as root) e.g.

sudo nmap -sP 192.168.1.*

If nmap is not installed, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install nmap
Mitch
  • 109,787
NGRhodes
  • 9,680
0

I think if you are not using dynamic dns , you should write the name of the PC manually in /etc/bind/db.192 which is the reverse , then you can try host or dig tool .

This would help you to configure dns : Site

nux
  • 39,152
-1

How about try to listing all out first, in terminal:

arp -a

from that, maybe you can figure out which names is which. Hope this can help too. (How to find a computer name in a LAN from the IP address?)