Cannot resolve hostname of devices connected to a wireless network using ip address ** server can’t find x.x.x.x.in-addr.arpa.: NXDOMAIN

Posted on

Cannot resolve hostname of devices connected to a wireless network using ip address ** server can’t find x.x.x.x.in-addr.arpa.: NXDOMAIN – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, networking, domain-name-system, reverse-dns, nslookup.

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

Solution :

It’s almost a certainty that your router does not host a reverse lookup zone, which is required to resolve ip addresses to host names.

If you want or need reverse lookup resolution you’ll need to deploy your own internal DNS server.

Leave a Reply

Your email address will not be published.