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.
waldyrious/alt-syntax
George D. Plymale II 2016-08-13 00:01:26 -04:00 committed by Waldir Pimenta
parent beb517b6a8
commit dff8f92cf0
1 changed files with 4 additions and 0 deletions

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`