Setup Google Public DNS to experience Faster and Safer Internet
Google has launched Public DNS service to improve the browsing experience of Internet users all over the world.
Domain Name System (DNS) serves as the “phone book” for the Internet by translating human-friendly computer hostnames into IP addresses. For example, www.example.com translates to 192.0.32.10.
All ISP provides the DNS, it will be either set in router, modem or in computers Ethernet LAN setting. The DNS provided by your ISP may not respond to your request faster and might be vulnerable to DNS cache poison. The good reason to set Google public DNS is that it is secure and speed.
How to set Google Public DNS on your PC?
In case you need to switch back to your ISP provided DNS. First, run ipconfig /all and take a note of existing DNS Servers.
Click on the Local Area Connection in your Taskbar. Properties -> Internet Protocol (TCP/IP). Change the DNS server to 8.8.8.8 and 8.8.4.4 and to save the changes click on “Ok” button.

You can also, change the DNS servers using this command. Go to CMD and execute this command.
Netsh interface ip set dns name="Local Area Connection" source=static addr=8.8.8.8
Netsh interface ip add dns name = "Local Area Connection" addr =8.8.4.4

If you want to set Google Public DNS in your router or modem, then you need to access the device through http://192.168.1.1. You need a valid device username and password to login and do the changes. In most case default username is admin and password is admin.