From the Android Menu home screen, tap Settings
Tap Wi-Fi on the menu
The screen listing all of the available networks will be shown (it is impossible to set custom DNS for mobile connection)
Long press the network you’re connected to, and tap Modify Network
On some devices, you may need to check the box for Advanced to see further settings.
To adjust your Android DNS settings, you will need to switch the IP settings from DHCP to Static.
Change set DNS 1 and DNS 2 values to following:
From the home screen, tap Settings
Choose Wi-Fi in the left menu (it is impossible to configure DNS for mobile networks)
Tap on the name of the currently active network
In the DNS field enter our DNS addresses:
Open Control Panel through Start menu or Windows search
Go to Network and Internet category and then to Network and Sharing Center
On the left side of the screen find Change adapter settings and click on it
Select your active connection, right-click on it and choose Properties
Find Internet Protocol Version 4 (TCP/IP) in the list, select it and then click on Properties again
Choose Use the following DNS server addresses and enter these:
Router (Block ADS For ALL Devices in your network
You may be asked to enter the password. If you don’t remember it, you can often reset the password by pressing a button on the router itself.
Some routers have a specific application which should be already installed on your computer in that case.
Find the DNS settings Look for the DNS letters next to a field which allows two or three sets of numbers, each broken into four groups of one to three numbers.
Enter the DNS server addresses there: