Categories
Uncategorized

DNS Script

Alternate Download Link

This image has an empty alt attribute; its file name is image.png
save file as .bat ( which saves a new file called “Enterfilename”.bat that you can run )

Below is example file I created. Both files are zipped.

Next I will explore networking concepts with batch file and command prompt.

set first dns:

netsh interface ipv4 set dns name=”Ethernet 3″ 1.1.1.3

set second dns:

netsh interface ipv4 add dns “Ethernet 3” 1.1.1.1 index=2

Source:

https://www.howtogeek.com/263177/how-to-write-a-batch-script-on-windows/

cloudflare.com or 1.1.1.1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s