Created
September 12, 2012 02:07
-
-
Save techniq/3703746 to your computer and use it in GitHub Desktop.
Set Windows DNS Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
set DNS_IP= | |
set /P DNS_IP=DNS server ip address: %=% | |
echo Setting DNS server... | |
netsh interface ip set dns "Local Area Connection 9" static %DNS_IP% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment