Categories
SysOps

How to perform reverse DNS lookups

Perform reverse DNS lookups to map addresses to names.

Use DNS lookup utility to perform a reverse DNS lookup.

$ dig +short -x 172.16.10.101
datanode1.example.org.

Perform regular DNS lookup to verify results.

$ dig +short datanode1.example.org.
172.16.10.101

Use DNS lookup utility to perform a reverse DNS lookup in the local network.

$ dig +short -x 192.168.8.1
_gateway.

Perform regular DNS lookup to verify results.

$ dig +short _gateway 
192.168.8.1

Simple as that.