mirror of https://github.com/sbrl/bin.git
12 lines
170 B
Plaintext
12 lines
170 B
Plaintext
|
#!/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
|
||
|
|