ip_dns.bat

批量测试DNS解析

FOR /F "tokens=1,2 delims=\=" %%I IN (ServerBindings.txt) DO (
ping %%I -n 1 -w 1 | find "正在 Ping %%I " >> Ajiexi.txt
ping %%I -n 1 -w 1 | find "正在 Ping cusshop.ebdoor.com " && echo %%I >> biemingyum.txt
ping %%I -n 1 -w 1 | find "正在 Ping cusshop.ebdoor.com " >> biemingjiexi.txt
)

posted @ 2020-01-11 20:05  sfqas  阅读(142)  评论(0)    收藏  举报