ERR_NAME_NOT_RESOLVED on Android: How to Fix It
In this article
The ERR_NAME_NOT_RESOLVED error on Android means your phone could not translate a website's name into an IP address. In plain terms, the DNS lookup failed, so the browser has no idea where to send your request. The fastest fix is usually to toggle Airplane mode on and off, switch between Wi-Fi and mobile data, or restart the phone. If that does not clear it, the steps below walk through DNS, date and time, browser data, and network resets in a safe order. Nothing here requires root access or unofficial apps, and the only step that deletes anything is the final network reset, which removes saved Wi-Fi passwords and Bluetooth pairings.
What You'll Need
- Your Android phone or tablet, charged enough to get through a few settings changes.
- The Wi-Fi password for any network you are connected to, in case you need to reconnect after forgetting it.
- A second device (optional) to check whether the same site loads elsewhere, which helps confirm whether the problem is your phone or the site.
- Access to your router's admin page only if you plan to change DNS at the router level; most people can skip this.
Step-by-Step
Menu labels vary slightly between Android versions, manufacturers and regions, so if a label does not match exactly, look for the closest equivalent in the same section.
- Confirm the error is site-specific. Open two or three other websites in the same browser. If only one site fails, the problem is likely that site's DNS or an outage, not your phone. Try the same site on another device or on mobile data before changing settings.
- Toggle Airplane mode. Open Quick Settings by swiping down from the top of the screen and tap the Airplane mode icon. Wait about ten seconds, then tap it again. This forces the phone to re-register on the network and often clears a stale DNS cache.
- Switch networks. If you are on Wi-Fi, turn Wi-Fi off and load the page over mobile data. If you are on mobile data, connect to a known Wi-Fi network. A working connection on the other network confirms the issue is with one specific network rather than the phone.
- Restart the phone. Hold the power button and choose Restart (on some phones, press and hold Power plus Volume Down). A restart clears temporary network state and is the single most effective step for transient DNS failures.
- Check the date and time. Open Settings and look for System > Date & time (or General management > Date and time on Samsung devices). Turn on Automatic date and time and Automatic time zone. A clock that is badly wrong can break secure connections and DNS lookups.
- Forget and rejoin the Wi-Fi network. Open Settings > Network & internet > Wi-Fi (or Connections > Wi-Fi on Samsung). Tap the gear icon next to the network, choose Forget, then tap the network again and enter the password. This clears the saved network profile, which can hold a bad DNS setting.
- Change DNS on the phone. Open Settings > Network & internet > Private DNS (on many Android versions this sits under Network & internet, sometimes under More connection settings). Choose Private DNS provider hostname and enter a well-known provider such as dns.google or one.one.one.one. Save, then reload the page. If Private DNS was already set to a custom hostname, switch it to Automatic to test whether that hostname is the cause.
- Clear the browser's cache and data for the affected browser only. Open Settings > Apps, find your browser (Chrome, Firefox, Samsung Internet and so on), tap Storage & cache, then Clear cache first. If the error persists, tap Clear storage or Clear data. Be aware this removes saved logins, open tabs and site settings for that browser, so only do it after the cache clear fails.
- Try a different browser. Install or open a second browser and load the same site. If it works there, the problem is confined to the first browser's data or an extension, and clearing its data (step 8) is the right fix.
- Reset network settings as a last resort. Open Settings > System > Reset options > Reset Wi-Fi, mobile & Bluetooth (the path differs by manufacturer; on Samsung it is General management > Reset > Reset network settings). This deletes saved Wi-Fi networks, Bluetooth pairings and mobile network settings. It does not delete your photos, apps or accounts, but you will need to re-enter Wi-Fi passwords and re-pair Bluetooth devices afterwards.
Common Mistakes
- Clearing all app data instead of the browser's. Clearing data for the wrong app, or using a general storage cleaner, can wipe logins and settings you did not intend to lose. Target only the browser that shows the error.
- Changing DNS at the router without noting the old values. If you edit router DNS and something breaks, you will want the original settings to restore. Write them down first, or leave the router alone and set Private DNS on the phone instead.
- Assuming the phone is broken. A single failing site usually means the site's own DNS is misconfigured or temporarily down. Testing on another device saves a lot of unnecessary resetting.
- Using a VPN or ad-blocking app without checking it. Some VPN and filtering apps route DNS through their own servers. If the error appeared after installing one, disconnect it and retest before changing anything else.
- Resetting network settings first. It works, but it costs you saved Wi-Fi passwords and Bluetooth pairings. Try the simpler steps first.
Tips
- If only one browser fails, clear that browser's cache before touching system settings.
- Private DNS is the cleanest phone-level fix because it applies to all apps, not just the browser.
- If the error appears on every device on the same Wi-Fi, the router or the ISP's DNS is the likely cause; restart the router and, if needed, set DNS on the router itself.
- Keep the phone's system and browser updated through the official store, since DNS and network fixes ship in updates.
- If you use a work or school Wi-Fi network, its DNS may block certain domains; try mobile data to confirm.
Troubleshooting
If the error survives all of the above, work through these checks in order.
- The site fails everywhere. Try the site on a device on a different network. If it fails there too, the site's DNS is the problem and nothing on your phone will fix it; wait and retry later.
- Only one app fails. Check that app's permissions and clear its cache from Settings > Apps. If it still fails, reinstall it from the official store.
- Private DNS made things worse. Set Private DNS back to Automatic and retest. A hostname that is unreachable will break lookups for every app.
- Mobile data also fails. Open Settings > Network & internet > Mobile network and check that mobile data and roaming (if relevant) are on. Toggle mobile data off and on, then restart the phone.
- Nothing works and the phone is otherwise fine. Back up your data, then consider a factory reset from Settings > System > Reset options. This erases all data on the phone, so back up photos, messages and app data first and sign-in details you will need afterwards.
Frequently Asked Questions
What does ERR_NAME_NOT_RESOLVED actually mean?
It means the DNS lookup failed: your phone asked a DNS server for the site's IP address and got no usable answer. The site may be down, the DNS server may be unreachable, or a local setting is blocking the lookup.
Is this error caused by a virus?
Usually no. It is a network configuration or DNS issue. If it appeared right after installing an app, uninstall that app and retest, but the error itself is not a sign of infection.
Will resetting network settings delete my photos or apps?
No. It removes saved Wi-Fi networks, Bluetooth pairings and mobile network settings. Your photos, apps and accounts stay. You will need to re-enter Wi-Fi passwords and re-pair Bluetooth devices.
Can I fix it without changing DNS?
Yes. Toggling Airplane mode, restarting the phone, forgetting and rejoining Wi-Fi, and clearing the browser's cache often fix it without any DNS change.
Why does it happen on Wi-Fi but not mobile data?
The Wi-Fi network's DNS is likely misconfigured or blocking the lookup. Restart the router, or set Private DNS on the phone so it uses a working resolver on both connections.
Should I use a third-party DNS changer app?
You do not need one. Android's built-in Private DNS setting covers the same job without installing anything from outside the official store.