I'm trying to resolve the hostname of devices connected to my wireless lan network through their ip addresses. I'm using a macbook and my /etc/resolv.conf show this as my dns server (192.168.1.1) which is a wireless router
#This file is automatically generated.
#nameserver 192.168.1.1
i'm trying to find the hostname of the clients connected to my network using their IPs and i'm getting the following error
# nslookup 192.168.1.4 192.168.1.1
Server: 192.168.1.1
Address: 192.168.1.1#53
# server can't find 4.1.168.192.in-addr.arpa.: NXDOMAIN
# nslookup 192.168.1.1
Server: 192.168.1.1
Address: 192.168.1.1#53
server can't find 1.1.168.192.in-addr.arpa.: NXDOMAIN