mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
11 lines
170 B
Bash
Executable file
11 lines
170 B
Bash
Executable file
#!/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
|
|
|