mirror of https://github.com/CrimsonTome/tldr.git
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
parent
beb517b6a8
commit
dff8f92cf0
|
@ -13,3 +13,7 @@
|
||||||
- Specify an alternate DNS server to query (8.8.8.8 is google's public DNS):
|
- Specify an alternate DNS server to query (8.8.8.8 is google's public DNS):
|
||||||
|
|
||||||
`dig @8.8.8.8 {{hostname.com}}`
|
`dig @8.8.8.8 {{hostname.com}}`
|
||||||
|
|
||||||
|
- Perform a reverse DNS lookup on an IP address (PTR record):
|
||||||
|
|
||||||
|
`dig -x 8.8.8.8`
|
||||||
|
|
Loading…
Reference in New Issue