Batch files are like shortcut files which make working in the command-prompt a lot faster since batch files automate most of the typing. All you have to do is click the file and it execute a bunch of commands in CMD automatically.
Batch file code for notepad.exe
Save the file as NSlookup.bat and pick “All files” in the save as type box.
NSlookup is a program which runs in Windows Command prompt. It is used to look up the IP. address of an Domain name server’s name server . NSlookup stands for Name server look up. What you can use the IP. address for. You can use it to ping a website in CMD by typing.
Ping IP address
If you can ping the address with the IP, most likely your DNS service or server is down, and you need to switch to another DNS server address like Google DNS 220.127.116.11 or 18.104.22.168 in your network adapter properties.
If you notice faster load times by using a website IP address then it means your DNS server is slow and you need to replace it with a faster one in your network address properties.
Doing an NSlookup is also a fun thing to do when you are bored since have you ever wonder what the IP address of Google was? Now you can by using NSlookup.