Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DNS reverse
rev=$(host $1 | rev | cut -d' ' -f1 | cut -d'.' -f2- | rev)
echo $1 $rev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.