Reverse nslookup Command

www‮‬.lautturi.com
Reverse nslookup Command

The nslookup command is a tool used to query the Domain Name System (DNS) to obtain domain name or IP address mapping or for any other specific DNS record.

To perform a reverse nslookup, you can use the -type=ptr option and specify the IP address that you want to look up. For example:

nslookup -type=ptr 8.8.8.8

This will return the domain name associated with the IP address 8.8.8.8.

Alternatively, you can use the dig command with the -x option to perform a reverse DNS lookup. For example:

dig -x 8.8.8.8

This will also return the domain name associated with the IP address 8.8.8.8.

Keep in mind that not all IP addresses have a corresponding domain name, and a reverse DNS lookup may not always return a result.

Created Time:2017-10-30 14:27:16  Author:lautturi