Last active
October 8, 2019 18:06
-
-
Save jcefoli/af84add1da892e75da84104eddd3389b to your computer and use it in GitHub Desktop.
Performs 100 dns lookups against a domain and sorts the responses. Useful for testing DNS load balancing. (Bash one-liner)
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
for i in {1..100}; do dig mydomain.com @my.nameserver.com +short; done | sort | uniq -c | |
# replace mydomain.com with your domain name | |
# replace my.nameserver.com with the hostname of your domain's nameserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment