Guide to changing the DNS on your Android mobile: fast, safe and without apps

Last update: November 10, 2025
  • Faster and more private DNS improves website loading, security, and privacy.
  • On Android 9 or higher, use private DNS with hostname (DoT).
  • On Android 8 or earlier, change it for each Wi-Fi with a static IP.
  • Recommended services: Google, Cloudflare, OpenDNS and Quad9.

Tutorial for changing DNS on Android

If your internet connection is choppy, certain websites won't load, or you're worried about your privacy, changing your Android's DNS settings might be the boost you need. It's a quick, free adjustment that has a real impact on speed, privacy, and security , and you can do it yourself without third-party apps.

Before we get into the details, it's helpful to understand what we're talking about. DNS stands for Domain Name System and acts like an internet phone book: it translates easy-to-remember names into numerical IP addresses so your mobile device knows which server to connect to. Using more reliable or private DNS servers can speed up domain resolution, bypass certain DNS blocks, and reduce your online footprint.

What is a DNS and why change it?

In general terms, when you type a web address into your browser, the system asks the DNS server how to reach that site. If the DNS responds quickly and doesn't monitor your queries , your experience improves: pages load faster, there are fewer problems, and you have more control over your data.

Besides speed, there are other common reasons to change servers: privacy (preventing your operator from logging queries) , security (blocking malicious websites) , and the ability to bypass DNS-based blocks imposed by some providers.

Out of the box, your phone usually uses the DNS from your router or internet service provider. That works, but it's not always the most efficient . Fortunately, Android allows different configurations depending on the version: from a private DNS mode that works for the entire system to changes for each Wi-Fi network on older devices.

How to configure a DNS to block ads
Related articles:
Which DNS should you use on your Android phone for faster and safer browsing?

Before we begin: Android version and differences depending on the manufacturer

Menu names may vary slightly depending on the brand or custom interface. If something doesn't match exactly , look for similarly named options in your Settings app or consult your phone manufacturer's help documentation.

To find out which Android version you have, go to Settings and look for About phone or About device. Knowing the version will tell you whether you can use a private DNS system-wide or if you'll need to configure DNS on a network-by-network basis over Wi-Fi.

Android 9 and later: System-wide private DNS

Since Android 9, you can define a private DNS that applies to both Wi-Fi and mobile data. It's the cleanest and most convenient way to change your DNS because it doesn't depend on the network you're connecting to.

  1. Open Settings on your mobile.
  2. Go to Network & Internet (or Connections on some models) and look for the Private DNS section, sometimes within Advanced.
  3. Choose Private DNS Provider Hostname.
  4. Enter the host of the service you want to use, for example: dns. google (Google) or one.one.one.one (Cloudflare).
  5. Press Save to apply the changes.

If you want to revert to the original behavior, select Automatic in that same menu. This mode uses DNS over TLS (DoT) to encrypt your DNS queries whenever the server supports it, increasing privacy from third parties on the network.

Please note that the exact menu names may vary. The Private DNS setting encrypts and authenticates only DNS queries ; it does not replace a VPN or protect other aspects of your traffic.

Android 8 and earlier: Change DNS on each Wi-Fi network

How to change DNS on Android

In versions prior to Android 9, there is no system-wide private DNS. You can change the DNS settings for specific Wi-Fi networks , but not for mobile data, and you'll have to repeat the process for each saved network if you want the same behavior.

  1. Connect to the Wi-Fi network where you want to change the DNS settings.
  2. Open Settings and go to Network & Internet, then tap Wi-Fi.
  3. Press and hold the connected network and select Modify network or Manage network settings.
  4. Expand Advanced Options and locate IP Settings.
  5. Change DHCP to Static to be able to edit network fields.
  6. Fill in the DNS 1 and DNS 2 fields with your preferred servers.
  7. Save the changes so they take effect on that network.

To revert to the network's original settings, go back to IP Settings and select DHCP. Remember that this change only affects that specific Wi-Fi network , so if you connect to a different network, you'll need to repeat the process.

To make it easier for you, here are some common examples you can enter as DNS 1 and DNS 2: Google 8.8.8.8 and 8.8.4.4, Cloudflare 1.1.1.1 and 1.0.0.1.

Recommended DNS servers and addresses

Not all DNS servers are created equal. Some prioritize performance, others privacy or threat filtering. These free options stand out for their quality and reliability :

  • Google Public DNS (performance and high availability). IPv4: 8.8.8.8 and 8.8.4.4.
  • Cloudflare 1.1.1.1 (very fast and with a focus on privacy). IPv4: 1.1.1.1 and 1.0.0.1.
  • OpenDNS Home (Cisco, with configurable filtering). IPv4: 208.67.222.222 and 208.67.220.220.
  • OpenDNS Shield (preconfigured filters for adults). IPv4: 208.67.222.123 and 208.67.220.123.
  • Quad9 (blocking malware, phishing, botnets). IPv4: 9.9.9.9 and 149.112.112.112.

If you're undecided between several options, start with Cloudflare or Google and see how they work. The best choice may vary depending on your carrier and location , so it's worth trying them out and sticking with the one that responds fastest.

Quick guide: Change DNS on Android without third-party apps

It doesn't matter if your manufacturer adds a custom layer: the setting is in Settings, under Network & Internet or similar connections. You don't need to install any external applications to change the DNS ; it's all done from within the system.

  • If your Android is modern, use private DNS with the provider's name (dns.google, one.one.one.one).
  • If it's an older model, modify the Wi-Fi network, activate static IP, and enter DNS 1 and DNS 2.

This process is reversible in seconds: in Private DNS, return to Automatic, and in Wi-Fi, change Static IP to DHCP. This way, you can restore the original configuration whenever you want.

Other platforms: in case you're also interested

Although we're focusing on Android here, you might want to align the behavior across all your devices. Here are the basics for changing DNS on other systems :

Windows

In Windows 11 and 10, go to Settings, then Network & Internet, and open your network properties. Look for DNS settings and change to manual to enter servers like 8.8.8.8 and 8.8.4.4 or 1.1.1.1 and 1.0.0.1.

MacOS

Go to System Preferences, enter Network, select the interface (Wi-Fi or Ethernet), and click Advanced. On the DNS tab, you can add new servers and remove old ones with a couple of clicks.

Linux

In distributions with a graphical environment (for example, Ubuntu), open Settings, then Network, and edit IPv4 or IPv6. Switch to manual to complete the DNS fields . If you prefer the terminal, you can work with the /etc/resolv.conf file or your network manager's tools.

iPhone and iPad

Go to Settings, open Wi-Fi, and tap the information icon for your network. Under Configure DNS, choose Manual and add the desired servers . Note that this applies to that specific network.

Router

If you want all your devices at home to use the same DNS servers, configure them on your router . Access its management IP address (usually 192.168.1.1), log in, and look for WAN or Internet. Fill in the primary and secondary DNS settings, save, and restart your router . This way, your mobile phones, laptops, and game consoles will automatically inherit the new DNS servers.

If you notice that your Wi-Fi signal is weak despite changing your DNS, consider relocating your router or strengthening your network with repeaters or access points. DNS helps with name resolution, but it doesn't compensate for poor coverage.

Networking features on Android that you should know about

Android includes useful settings beyond DNS that can improve your experience, especially if you have data limits or want to fine-tune network performance. Here are some you might want to check out :

Metered Wi-Fi network

Useful if your Wi-Fi has a data cap. By marking it as metered, the system reduces background data usage. The general steps are: Settings, Network & Internet, your Wi-Fi network, Network usage, and enable Treat as metered network.

MAC address and randomization

You can find your device's MAC address in Settings > About phone. You'll also see the random MAC address that Android 10 and later use for privacy. With Wi-Fi enabled, go to Network & Internet, select your network, and look for Random MAC address to locate it if needed, for example, for parental controls.

Private DNS: Options and Scope

Within Network & Internet, you'll find Private DNS with three modes: Off, Automatic, and ISP Hostname. Enable Hostname to specify dns.google or one.one.one.one and tap Save. Google recommends keeping Private DNS always enabled.

How to set up a private DNS on Android
Related articles:
Configure and Optimize Your Privacy: A Detailed Guide to Private DNS on Android

Important: Private DNS only protects your DNS queries; it does not encrypt or hide other traffic. If you need additional layers of privacy, consider complementary solutions such as a VPN.

Wi-Fi preferences and advanced options

At the bottom of the Internet or Wi-Fi settings, you'll see Network Preferences with various helpful options. You can enable Wi-Fi automatically when your phone detects saved networks and receive notifications of good-quality open networks.

In the Advanced settings, depending on the version, you'll find utilities like Install Certificates and Wi-Fi Direct to connect devices without an intermediary network. On older Android systems, you'll also see WPS (button or PIN) if the network supports it , although this feature has been removed in recent versions for security reasons.

Practical tips when changing DNS

If you notice that certain websites aren't resolving after changing your DNS, double-check that you've entered your provider's address or hostname correctly. On Android 9 and later, you must enter the hostname, not IP addresses , because private mode requires DNS over TLS.

If your Android device is older and you're on a public or work Wi-Fi network, you might not be able to edit the settings. In those cases, change the DNS settings on your own router or use a different network where you have permission.

Try a service for a couple of days, and if you don't notice an improvement, switch. Network conditions and operator peering have a significant impact ; that's why there's no one-size-fits-all solution.

And of course, remember that DNS doesn't fix coverage problems, channel congestion, or interference. To improve the signal, relocate your router, use 5 GHz when possible, or boost it with mesh network equipment.

With all of the above, you now have a complete roadmap: what DNS is, why it's a good idea to change it, and how to do it step by step on Android (both on modern versions with private DNS and on older devices for each Wi-Fi network), as well as recommended alternatives like Google, Cloudflare, OpenDNS, and Quad9 with their exact addresses. With just a few taps and without installing anything, you can gain speed, privacy, and security in your daily life. Share this information so more users can learn how to change their DNS on Android.