In this guide I will show you how to change your DNS server with command prompt. Simple and straight to the point no nonsense tutorial.
You might want to change your DNS server for many reasons, to decrease ping time when online gaming, to add parental controls like blocking adult sites and various other reasons.
First thing you will want to do is bring up an elevated command prompt. Then copy the content of the code box below. Paste it into the command window and hit enter. This will change your DNS server to Alternate DNS as primary DNS server, and Google DNS as alternate DNS server.
Note: Do not copy the word code!!
You simply need to replace the first number in quote marks as your primary and the second number will be your alternate DNS server.
Note: Make sure and leave the quote marks as well as the comma and parentheses, and only change the numbers!!
Here is a list of the free DNS servers available to you, some block malware, some block ads and some are family friendly to keep your children from visiting dodgy websites, so you do not have to worry about that sort thing when the kids have their computers on, alone in their room.
Click here to view the list of free DNS servers.
Once you have changed the DNS server, you will want to enter the following commands in the elevated command prompt.
That's it simple right, you have changed your DNS server via command prompt.
You might want to change your DNS server for many reasons, to decrease ping time when online gaming, to add parental controls like blocking adult sites and various other reasons.
First thing you will want to do is bring up an elevated command prompt. Then copy the content of the code box below. Paste it into the command window and hit enter. This will change your DNS server to Alternate DNS as primary DNS server, and Google DNS as alternate DNS server.
Note: Do not copy the word code!!
Code:
wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("76.76.19.19", "8.8.4.4")
You simply need to replace the first number in quote marks as your primary and the second number will be your alternate DNS server.
Note: Make sure and leave the quote marks as well as the comma and parentheses, and only change the numbers!!
Here is a list of the free DNS servers available to you, some block malware, some block ads and some are family friendly to keep your children from visiting dodgy websites, so you do not have to worry about that sort thing when the kids have their computers on, alone in their room.
Click here to view the list of free DNS servers.
Once you have changed the DNS server, you will want to enter the following commands in the elevated command prompt.
Code:
ipconfig /flushdns
ipconfig /registerdns
That's it simple right, you have changed your DNS server via command prompt.