How to Flush the DNS on an Android Phone

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Clearing DNS cache protects it from "poisoning" by spoofing attacks, which insert addresses of malicious websites into your cache.
Image Credit: Image courtesy of Android

Every time you direct your Android phone to a website, it finds the IP address for the URL entered using your ISP's DNS server. It's faster to go straight to the website than to make a stop at the DNS server, so your phone keeps records of information it collects in the DNS cache to speed its next journey to websites you've already visited.

Advertisement

To clear the DNS cache, you could do a hard reset of your Android phone. Take out the battery for thirty seconds then replace it and turn on your phone; the DNS cache should be empty. However, many, if not most, phones do not have removable batteries. Happily, you can also clear your browsing history, thus flushing the DNS cache, through your browser settings.

Video of the Day

Advertisement

Video of the Day

Flush DNS Cache in Google Chrome

Step 1

Google Chrome
Image Credit: Image courtesy of Google.

Type chrome://net-internals/#DNS into the Chrome search bar.

Advertisement

Step 2

Google Chrome
Image Credit: Image courtesy of Google.

Click the Clear Host Cache button. The number of domain names held in cache can be seen in the bar at the top of the screen next to Capturing Events. This number will change to zero.

Advertisement

Step 3

Google Chrome
Image Credit: Image courtesy of Google.

Clear both the Sockets, as well as the DNS Cache, to clear out any lingering packets. To do this, click the Down Arrow in the upper right corner. This is an alternative to clicking the Clear Host Cache button.

Advertisement

Advertisement

Step 4

Google Chrome
Image Credit: Image courtesy of Google.

Select Clear Cache and Flush Sockets. If you are selecting both, you have to open the menu twice. The menu closes as soon as you select one.

Advertisement

Flush DNS Cache in Mozilla Firefox

Step 1

Mozilla Firefox
Image Credit: Image courtesy of Mozilla.

Click the hamburger menu in the upper-right corner to access the main menu and then click Settings.

Advertisement

Step 2

Mozilla Firefox
Image Credit: Image courtesy of Mozilla.

Select Privacy from the Settings menu.

Advertisement

Advertisement

Step 3

Mozilla firefox.
Image Credit: Image courtesy of Mozilla.

Select Clear Now. There is also a check box to select if you want your browsing history to be deleted every time you exit Firefox.

Advertisement

Step 4

Mozilla Firefox.
Image Credit: Image courtesy of Mozilla.

Check the box next to Browsing History and then click Clear Data.

Advertisement

Flush DNS Cache in Opera for Android

Step 1

Opera for Android
Image Credit: Image courtesy of Opera.

Click the Opera icon at the bottom of your Opera Browser.

Advertisement

Step 2

Opera for Android
Image Credit: Image courtesy of Opera.

Select Clear Browsing Data from the Settings menu.

Step 3

Opera for Android
Image Credit: Image courtesy of Opera.

Check the box next to Clear Browsing History and then click OK.

Advertisement

Advertisement

references

Report an Issue

screenshot of the current page

Screenshot loading...