mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
12 lines
170 B
Text
12 lines
170 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [[ $# -ne 1 ]]; then
|
||
|
echo PTR lookup tool, by Starbeamrainbowlabs
|
||
|
echo Usage:
|
||
|
echo " ptr x.y.z.w"
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
dig ptr $1.in-addr.arpa +short
|
||
|
|