@echo off
set d=%date:~0,4%%date:~5,2%%date:~8,2%
set t=%time:~0,2%%time:~3,2%%time:~6,2%
echo %date% %time%>ipdomain-%d%-%t%.txt
for /f "delims=" %%a in (domain.txt) do (
echo %%a
for /L %%i in (1,1,600) do (
echo %%i
for /f "skip=2 tokens=2 delims=, " %%b in ('nslookup %%a 2^>nul') do (echo %%b|findstr "^[0-9^.]*$">nul&&echo %%b))
ping -n 1 127.0.0.1 >nul)>>ipdomain-%d%-%t%.txt
start ipdomain-%d%-%t%.txt
20171219-test DNS-bat 脚本
最新推荐文章于 2021-08-06 12:39:05 发布