Skip to content

Instantly share code, notes, and snippets.

@danielchc
Created September 8, 2018 18:13
Show Gist options
  • Save danielchc/39f87f33aab2b25a745ad7ce4010d35e to your computer and use it in GitHub Desktop.
Save danielchc/39f87f33aab2b25a745ad7ce4010d35e to your computer and use it in GitHub Desktop.
Check ping of diferent DNS Servers
@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