Not all DNS servers are created equally
Changing your DNS server on Android can resolve connectivity problems on Wi-Fi. If you recently upgraded to one of the best value data plans and encounter issues with roaming, we recommend exploring a different troubleshooting avenue. You can't change your mobile data DNS server without rooting your phone.
DNS servers translate domain names into IP addresses. If they fail, you can't reach websites or find results in a search engine. Diagnosing whether the DNS server is causing problems can be tricky, but the fix is quick and easy. You can change your DNS server on any Android device, including phones, Chromebooks, and our favorite tablets.
Like any server, DNS servers encounter technical problems throughout their lifespan. This can impact your connection quality. You usually don't need to reset your DNS server to fix connectivity issues, but occasionally it's necessary.
Your internet provider chooses your default DNS server. If you connect to a different router, your DNS server changes. Changing your DNS server on Android overrides this default server, but anyone else connecting to the router still uses the default DNS server.
If all your home devices encounter DNS connectivity issues, we recommend changing your DNS server at the router level. The method for changing this varies for each router, so we recommend reading the documentation for your router to find your DNS settings.
When you're ready to start, you'll need a primary and secondary DNS address. For this guide, we use the Google Public DNS server. On Android, you can enter dns.google to switch servers, but you may need the IPv4 or IPv6 address provided in the table below on non-Android devices:
IPv4
IPv6
Primary
8.8.8.8
2001:4860:4860::8888
Secondary
8.8.4.4
2001:4860:4860::8844
It doesn't matter which address you assign as Primary or Secondary.
If you wish to use an alternative DNS server, have its hostname and addresses ready. These should be displayed in the same format as the addresses shown above.
The IPv6 address format above is an abbreviated address that works for most devices. However, some require explicit values. If the abbreviated address doesn't work, try these formats:
Regular: 2001:4860:4860::8888
Expanded: 2001:4860:4860:0:0:0:0:8888
Fully Expanded: 2001:4860:4860:0000:0000:0000:0000:8888
Before you change your DNS server, flush it first. Your DNS server's cache might be full. Clearing this can speed up your browsing without changing your server.
If your browsing experience is still slow, move on to switching DNS servers.
If clearing the cache doesn't work, switch to another DNS server. Here's how:
Open a web browser and load a web page. If it loads, you've successfully switched your DNS server.
Switching your DNS server can improve connectivity regardless of what Wi-Fi network you connect to. It's beneficial when traveling. Note that changing your DNS server doesn't improve your browsing security. To make your browsing sessions more secure, we recommend using one of the top VPNs for Android.
By subscribing, you agree to our Privacy Policy and may receive occasional deal communications; you can unsubscribe anytime.
Jon has been a freelance writer at Android Police since 2021. He primarily writes how-to guides and round-ups, but occasionally covers news. His favorite Android device was the Pixel 2 XL, and he regards the three-month period where he owned an iPhone as a time of the utmost shame. Jon graduated with a History degree in 2018, but quickly realized his writing skills were better put to use writing about tech rather than essays. He started writing and editing for startups shortly after graduating, where he did everything from writing website copy to managing and editing for a group of writers. In his free time, you can find him fiddling with computers and spending his entire paycheck on vinyl records.

More Stories
Anatomy of a Scam
Climate and Environmental Sustainability Within the IETF and IRTF
From Commitments to Practice: Internet Society’s Priorities for WSIS+20 Implementation