Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ryanhoskin
Created April 28, 2016 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanhoskin/011e9b4b1c2a63eaa3446cb5334bb866 to your computer and use it in GitHub Desktop.
Save ryanhoskin/011e9b4b1c2a63eaa3446cb5334bb866 to your computer and use it in GitHub Desktop.
#!/bin/bash
while true; do
dig foo.pagerduty.com mx >> ./test_mx.log
dig @8.8.8.8 foo.pagerduty.com mx >> ./test_mx.log
dig foo.pagerduty.com mx +trace >> ./test_mx.log
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment