Skip to content

Instantly share code, notes, and snippets.

@ryanhoskin
Last active April 28, 2016 17:03
Show Gist options
  • Save ryanhoskin/d83521edbafae354c35ba750d8a12672 to your computer and use it in GitHub Desktop.
Save ryanhoskin/d83521edbafae354c35ba750d8a12672 to your computer and use it in GitHub Desktop.
:loop
@echo off
date /t >> test_mx.log
time /t >> test_mx.log
nslookup -type=MX foo.pagerduty.com >> test_mx.log
time /t >> test_mx.log
nslookup -type=MX foo.pagerduty.com 8.8.8.8 >> test_mx.log
time /t >> test_mx.log
nslookup -type=MX -d2 foo.pagerduty.com >> test_mx.log
time /t >> test_mx.log
timeout 5
goto loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment