Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rdns() {
- IP=`dig +short $1`
- if [[ -n $IP ]]; then
- echo -n "$IP -> "
- dig +short -x $IP
- whois -Q $IP | grep Organization
- else
- echo Not found
- fi
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement