Batch Commands to Change Dns Servers Authomatically

Setting primary and secondary dns addresses:

netsh interface ip set dns “Local Area Connection” static 208.67.222.222 primary

netsh interface ip add dns name=”Local Area Connection” addr=208.67.220.220 index=2

Removing dns settings:

netsh interface ip delete dns “Local Area Connection” all

Advertisement

0 Responses to “Batch Commands to Change Dns Servers Authomatically”



  1. Leave a Comment

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 )

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





Follow

Get every new post delivered to your Inbox.