There are 2 ways to change your DNS on Android devices: a) change the DNS servers of a VPN connection When using this way, the DNS servers you enter only get used while the VPN connection you set it for is active. - Open "Settings", then navigate to "More..." -> "VPN".
- When connecting via PPTP or L2TP from your Android device, you should have at least 1 connection listed here.
If not, see our article Android for instructions on how to create them. - Tap and hold your VPN connection, then select "Edit profile".
- Check "Show advanced options" - more options will appear.
- Here, enter your DNS servers separeted with a space at "DNS servers (e.g. 8.8.8.8)"
- For example, you could enter here "8.8.8.8 8.8.4.4" or just "8.8.8.8".
- Hit "Save".
- When now connecting with this VPN profile, your Android device will use the DNS servers you entered.
b) change the default DNS servers When using this way, the DNS servers you enter only get used while no VPN connection is active. To be able to change the default DNS servers your device is using, you might need root (if "Set DNS" fails without root) The easiest way to do this is to use e.g. the app "Set DNS" from https://play.google.com/store/apps/details?id=uk.co.mytechie.setDNS The other way to do this is to manually edit the file /etc/resolv.conf after removing its write protection. This can be done either with a terminal app like Android Terminal Emulator (via vi or other command-line based text editors), or you can use your favorite text editor, as long as it can access the root folder /etc | | |
In this example we'll set our iOS device (iPhone, iPad, etc.) to use Googles DNS servers (8.8.8.8 + 8.8.4.4). This gives a potential increase in speed - note that this can only be done when using WiFi connection. Open up the settings on your iOS device and navigate to the WiFi settings. | | Select the WLAN network you're connected to and tap the blue arrow next to it. | | Here, change the DNS settings to Googles DNS servers by tapping on the line "DNS" | | In this DNS field, enter 8.8.8.8, 8.8.4.4(comma and space are important!) Go back to previous screen and press the Home button. That's all :) | | | | |