1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 01:15:42 +02:00

dig.md: add reverse DNS lookup example (#1003)

Doing a reverse DNS lookup by typing out the IP address in reverse, plus adding .in-addr.arpa to the end is tedious, but fortunately dig has the -x option which makes that process much simpler as one can just feed it a normal IP address.
This commit is contained in:
George D. Plymale II 2016-08-13 00:01:26 -04:00 committed by Waldir Pimenta
parent beb517b6a8
commit dff8f92cf0

View file

@ -13,3 +13,7 @@
- Specify an alternate DNS server to query (8.8.8.8 is google's public DNS):
`dig @8.8.8.8 {{hostname.com}}`
- Perform a reverse DNS lookup on an IP address (PTR record):
`dig -x 8.8.8.8`