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!!
wmic nicconfig where (IPEnabled=TRUE) call SetDNSServerSearchOrder ("220.127.116.11", "18.104.22.168")
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.
ipconfig /flushdns ipconfig /registerdns
That's it simple right, you have changed your DNS server via command prompt.