User Tools

Site Tools


batdnsipresolve

This is an old revision of the document!


TinkersDocs Home Back to tektinkers.com

*.bat file to resolve DNS / IP

Open Notepad

In new Notepad type;

@echo off
:loop
nslookup nachonut.com
:: ping -n 1 nachonut.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.1748966945.txt.gz · Last modified: 2025/06/03 16:09 by tektinkers