batdnsipresolve
TinkersDocs Home Back to tektinkers.com
*.bat file to resolve DNS / IP
In the Search field on the Taskbar type “notepad”
Open Notepad
In new Notepad type;
@echo off :loop nslookup google.com :: ping -n 1 google.com timeout /t 10 goto loop
Adding “::” at the beginning of a line means the line will NOT be read, this can be removed.
Go to “Save as”
Go to “Save as type:” and select “All files”
Type desired filename and add “.bat” at end of filename
Select desired location of file to be saved at.
Select “Save”
Double Click your new *.bat file to start it!
NOTE:
You can either press Ctrl+c to stop the *.bat file or just close the window.
batdnsipresolve.txt · Last modified: 2025/06/03 16:11 by tektinkers