DNS批量测速bat脚本
bat测速脚本
新建空白文件,后缀改为bat
chcp 65001
@echo off
title DNS_test
echo.
echo.
echo _________________________baiduDNSv4 [180.76.76.76]
ping -n 4 180.76.76.76
:: > %temp%\dns.txt
echo.
echo.
echo _________________________baiduDNSv6 [2400:da00::6666]
ping -n 4 2400:da00::6666
:: > %temp%\dns.txt
echo.
echo.
echo _________________________电信DNSv6 [240e:4c:4008::1]
ping -n 4 240e:4c:4008::1
:: > %temp%\dns.txt
echo.
echo.
echo _________________________下一代互联网北京研究中心DNSv6 [240C::6666]
ping -n 4 240C::6666
:: > %temp%\dns.txt
echo.
echo.
echo _________________________CNNICDNSv6 [2001:dc7:1000::1]
ping -n 4 2001:dc7:1000::1
:: > %temp%\dns.txt
echo.
echo.
echo _________________________114DNS [114.114.114.114]
ping -n 4 114.114.114.114
:: > %temp%\dns.txt
echo.
echo.
echo _________________________谷歌DNSv4 8.8.8.8
ping -n 4 8.8.8.8
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________谷歌DNSv6 2001:4860:4860::8888
ping -n 4 2001:4860:4860::8888
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________CloudflareDNSv4 1.1.1.1
ping -n 4 1.1.1.1
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________CloudflareDNSv6 2606:4700:4700::1111
ping -n 4 2606:4700:4700::1111
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________阿里DNSv4 223.5.5.5
ping -n 4 223.5.5.5
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________阿里DNSv6 2400:3200::1
ping -n 4 2400:3200::1
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________OpenDNSv4 208.67.220.220
ping -n 4 208.67.220.220
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________OpenDNSv6 2620:0:ccc::2
ping -n 4 2620:0:ccc::2
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________AdGuardDNSv4 94.140.14.14
ping -n 4 94.140.14.14
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________非过滤DNSv6 2a02:6b8::feed:bad
ping -n 4 2a02:6b8::feed:bad
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________YandexDNSv6 2a10:50c0::ad1:ff
ping -n 4 2a10:50c0::ad1:ff
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________360DNSv4 101.226.4.6
ping -n 4 101.226.4.6
:: >> %temp%\dns.txt
echo.
echo.
echo _________________________360DNSv6 2a10:50c0::ad1:ff
ping -n 4 2a10:50c0::ad1:ff
:: >> %temp%\dns.txt
pause