Dig and DNS
Inspired by Julia Evans’ post: How to use dig
DNS is basically responsible for translating domain names to actuall IP addresses so that your computer can send your requests to the right server in the network.
Reverse DNS lookup
in-addr.arpa
is the domain used for reverse IPv4 lookupop6.arpa
is for reverse IPv6 lookup
Here the IP in question is added as a subdomain in front of the ones in the list above. The DNS info is given in the response.
Reverse DNS lookup - Wikipedia
DNS lookup tool - dig
|
|
host
can be used as an alternative albeit much simpler tool
Reverse DNS lookup
Use -x
in dig
to resolve IPs to DNS records
|
|
Formatting options
+noall + answer
+short