How to change DNS on Android
Complete guide with multiple methods and troubleshooting
7-10 min read
Expert Verified
Last Updated: August 2025
Quick Answer
Changing the DNS on Android can enhance your internet browsing speed and security. This guide provides multiple methods to change DNS settings on Android devices, ensuring you can find the best approach for your needs.
Easy⏱ 7-10 min read
Prerequisites & Requirements
Before changing DNS settings on your Android device, ensure you meet the following requirements:
- •An Android device running Android 5.0 (Lollipop) or later.
- •Wi-Fi connection (DNS settings can only be changed for Wi-Fi networks, not mobile data).
- •Access to the network settings on your device.
- •Backup any important data to avoid loss during configuration changes.
Method 1: Changing DNS via Wi-Fi Settings
This method is the most straightforward way to change DNS settings for a specific Wi-Fi network.
- •Step 1: Open the 'Settings' app on your Android device. You can find this app in your app drawer or by swiping down from the top of the screen and tapping the gear icon.
- •Step 2: Tap on 'Network & Internet' or 'Connections' depending on your Android version.
- •Step 3: Select 'Wi-Fi' and ensure you are connected to the network you want to change the DNS for.
- •Step 4: Tap on the name of the connected Wi-Fi network to open its settings.
- •Step 5: Scroll down and tap on 'Advanced' or 'IP settings'.
- •Step 6: Change 'IP settings' from 'DHCP' to 'Static'.
- •Step 7: In the 'DNS 1' and 'DNS 2' fields, enter your desired DNS addresses (e.g., 8.8.8.8 for Google DNS and 8.8.4.4 for secondary).
- •Step 8: Tap 'Save' or 'Connect' to apply the changes.
- •Step 9: To verify, open a web browser and check if the DNS change is effective by visiting a website.
For Android 11 and 12
Android 11 and 12 have a slightly different interface.
- •Step 1: Follow steps 1-4 as mentioned above.
- •Step 2: In the Wi-Fi settings, tap on the gear icon next to the network name.
- •Step 3: Scroll down to 'Advanced' and tap on 'IP settings'.
- •Step 4: Change to 'Static' and enter your DNS addresses.
For Android 10 and below
Older versions may have different menu layouts.
- •Step 1: Follow steps 1-4 as mentioned above.
- •Step 2: Look for 'Advanced options' and tap on it.
- •Step 3: Change 'IP settings' to 'Static' and input your DNS addresses.
Method 2: Using a Third-Party App
This method is useful for users who want to change DNS settings without navigating through system settings.
- •Step 1: Download a DNS changer app from the Google Play Store (e.g., 'DNS Changer' or 'NetGuard').
- •Step 2: Open the app and grant any necessary permissions.
- •Step 3: Enter your desired DNS addresses in the provided fields.
- •Step 4: Tap on 'Start' or 'Activate' to apply the DNS settings.
- •Step 5: To verify, open a web browser and check if the DNS change is effective.
Troubleshooting Common Issues
If you encounter issues while changing DNS settings, consider the following solutions:
- •Error: 'Unable to connect to the network' - Solution: Ensure you have entered the correct DNS addresses and that your Wi-Fi is connected.
- •Issue: 'DNS not resolving' - Fix: Restart your device and check if the DNS settings are saved correctly.
- •Problem: 'Cannot access certain websites' - Workaround: Try using a different DNS server or revert to the original settings.
Advanced Tips & Shortcuts
For power users, here are some additional tips:
- •Keyboard shortcut: No specific keyboard shortcuts available on Android for DNS settings.
- •Command line: Use terminal apps to ping DNS servers for testing (e.g., 'ping 8.8.8.8').
- •Hidden feature: Some devices allow DNS changes at a system level via developer options.
Common Mistakes to Avoid
Avoid these common pitfalls:
Expert Tips
Using a reliable DNS can significantly enhance your browsing experience and security.