DNS cache is a temporary storage of website addresses and their associated IP addresses on your device. It helps in speeding up the process of loading websites by reducing the time taken to resolve domain names to IP addresses. However, there are times when you may want to clear the DNS cache on your Android device. In this article, I will guide you through the steps to clear the DNS cache on Android devices.
Clear DNS Cache in Google Chrome
Google Chrome, one of the most popular web browsers for Android, also maintains its own DNS cache. To clear the DNS cache in Google Chrome, follow these steps:
Empty the Cache From Chrome’s Setting Page
- Open Google Chrome on your Android device.
- Tap on the three-dot menu in the top-right corner of the screen.
- From the drop-down menu, select “Settings.”
- Scroll down and tap on “Privacy.”
- Under the “Privacy” section, tap on “Clear browsing data.”
- Check the box next to “Cached images and files.”
- Tap on “Clear data.”
This will clear the DNS cache in Google Chrome and improve the browsing experience on your Android device.
Change the DNS Server on Android
Sometimes, clearing the DNS cache may not be enough to resolve certain DNS-related issues. In such cases, changing the DNS server on your Android device can help. Here’s how you can do it:
On Android 9 and Above
- Open the “Settings” app on your Android device.
- Scroll down and tap on “Network & internet.”
- Tap on “Private DNS.”
- Select the option for “Private DNS provider hostname.”
- Enter the DNS server address you want to use.
- Tap on “Save.”
The DNS server on your Android device will now be changed, and it will use the new DNS server for resolving domain names.
On Android 8.1 and Older
- Open the “Settings” app on your Android device.
- Scroll down and tap on “Network & internet.”
- Tap on “Wi-Fi.”
- Long-press on the Wi-Fi network you are connected to.
- Tap on “Modify network.”
- Scroll down and tap on “Advanced options.”
- Tap on “IP settings” and change it to “Static.”
- Scroll down and enter the DNS server address in the “DNS 1” field.
- Tap on “Save.”
Your Android device will now use the new DNS server for resolving domain names.
Using a Third-party App
If you prefer a more user-friendly approach to clear the DNS cache on your Android device, you can use a third-party app. There are several DNS changer apps available on the Google Play Store that allow you to easily change DNS settings and clear the DNS cache. Here’s how you can do it using a third-party app:
- Open the Google Play Store on your Android device.
- Search for a DNS changer app, such as “DNS Changer.”
- Install and open the app.
- Grant the necessary permissions to the app.
- Select the option to change DNS settings.
- Choose a DNS server from the list provided by the app.
- Tap on “Apply” or “Save” to apply the new DNS settings.
The third-party app will clear the DNS cache and change the DNS server on your Android device.
Flush the DNS Cache on Android Devices (For Root Users)
If you have rooted your Android device, you have access to advanced system settings, including the ability to flush the DNS cache. Here’s how you can do it:
- Download and install a root file explorer app, such as “Root Explorer” or “Solid Explorer.”
- Open the root file explorer app and grant it root access.
- Navigate to the following directory: “/data/misc/netd/netd_dns_events_cache.txt.”
- Delete the “netd_dns_events_cache.txt” file.
- Reboot your Android device.
By following these steps, you will be able to flush the DNS cache on your rooted Android device.