Last active
November 5, 2020 01:38
-
-
Save dogancelik/580cf55a5bd4e1560a6a to your computer and use it in GitHub Desktop.
Change DNS #Windows
This file contains hidden or 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
rem For Windows 10 | |
netsh interface ipv4 add dnsserver "Ethernet" address=8.8.8.8 index=1 | |
netsh interface ipv4 add dnsserver "Ethernet" address=8.8.4.4 index=2 | |
rem For Windows 7 | |
netsh interface ipv4 add dnsserver "Local Area Connection" address=8.8.8.8 index=1 | |
netsh interface ipv4 add dnsserver "Local Area Connection" address=8.8.4.4 index=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment