Created
July 13, 2018 00:26
-
-
Save simbalinux/bf1375b264f4e29fe7abbb1156b92a09 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env bash | |
IFS=$'\n' | |
arr=($(dig @dns.server domain_to_search axfr)) | |
unset IFS | |
for i in "${arr[@]:6:92}" | |
do | |
echo "$i" | awk '{print $5,$1}' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment