Sign in to follow this  
Followers 0
zodehala

set dns using cmd

4 posts in this topic

i am using following command to set dns but i cant secondary dns why ?

netsh interface ip set dns name="lan" static 208.67.221.221
netsh interface ip add dns name="lan" 208.67.220.220 index=2

Share this post


Link to post
Share on other sites

We're using this for our group policy and it's working properly.

netsh int ip set dns "Local Area Connection" static IPADDRESS

netsh int ip add dns "Local Area Connection" IPADDRESS

Share this post


Link to post
Share on other sites

We're using this for our group policy and it's working properly.

netsh int ip set dns "Local Area Connection" static IPADDRESS

netsh int ip add dns "Local Area Connection" IPADDRESS

many many thanx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0