Created
September 8, 2018 18:13
-
-
Save danielchc/39f87f33aab2b25a745ad7ce4010d35e to your computer and use it in GitHub Desktop.
Check ping of diferent DNS Servers
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
@echo off | |
set dnsservers=1.1.1.1 1.0.0.1 9.9.9.9 149.112.112.112 8.8.8.8 8.8.4.4 208.67.222.222 208.67.220.220 91.239.100.100 89.233.43.71 | |
(for %%a in (%dnsservers%) do ( | |
ping -n 1 %%a |findstr "TTL=" | |
)) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment