Created
September 26, 2017 13:33
-
-
Save jonatasrenan/8c1b4936d2115a56bedaab1a9dd21238 to your computer and use it in GitHub Desktop.
DNS reverse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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