Skip to content

Instantly share code, notes, and snippets.

@fapestniegd
Created October 15, 2010 19:36
Show Gist options
  • Save fapestniegd/628792 to your computer and use it in GitHub Desktop.
Save fapestniegd/628792 to your computer and use it in GitHub Desktop.
for ns in ns01 ns02 ns03;do
result=$(dig +short @${ns}.websages.com www.ogtastic.com);
echo "${ns}: ${result}";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment