When your internet is slow, some websites won't open, or you notice strange behavior, Check which DNS server you are using on your mobile device. This is one of those steps you should take as soon as possible. On Android, we have several ways to check it, without needing root access and with very simple tools to verify that everything is in order and, if necessary, change it to a faster or more private network. In this tutorial, you'll see clearly how to do it and what each network setting on your phone means.
In addition to showing you how to check your current DNS settings, we provide helpful context: the role of IP address, gateway, DHCP, and private DNS; and how to change DNS settings on other systems and your router. Everything you need to fine-tune your connection and make it more secure. Step-by-step explanations and tricks that work on modern Android phones and also on older versions.
What is DNS and why should you care?
The Domain Name System (DNS) is the internet's address book: it translates human-readable names like .com into numerical IP addresses that the network understands. Without DNS, we'd have to remember endless numbers, which is impractical. DNS operates in a hierarchy of servers that resolve your query until they return the correct IP address, and much of the process benefits from caching to speed up responses. In practice, a faster or closer DNS server slightly reduces wait times. It can improve the feeling of speed while sailing..
There are several components involved: recursive resolvers, root servers, top-level TLDs, and authoritative domain servers. Your device first queries the resolver, which then escalates the query until it receives the answer. Although it may seem like a long process, it all happens in milliseconds. That's why choosing a good provider is so important. You gain in performance, privacy, and sometimes also in security.because some DNS servers block malicious domains.
Differences between IP, gateway, and DNS
It's important not to confuse these concepts. Your IP address identifies your device within your local network and on the internet; your gateway is the default point of entry, usually your router, which routes traffic; and DNS is the service that translates domain names to IP addresses. On a typical Android device, your IP address and gateway are assigned via DHCP from your router, as are your DNS servers, unless you manually change them or use a private DNS server. Understanding the difference between them helps troubleshoot connection problems. configure rules on the router more precisely.
Regarding IP addresses, you can have dynamic or static assignment. At home, dynamic assignment is the norm for convenience, although assigning IP addresses to certain devices can be useful for home automation, home servers, or parental control rules. However, assigning IP addresses complicates administration and can cause conflicts if you accidentally repeat an address. It's often better to reserve IP addresses through the router's DHCP server, since You avoid collisions and keep everything tidy..
Types of gateways you can find on Android
- Default door: This is the default route to the outside, the one the mobile phone uses without you having to do anything.
- Mobile linkWhen you browse using 4G or 5G data, the connection jump is managed by the operator's network.
- Wi-Fi DoorWhen you connect to a wireless network, the router acts as a gateway to the Internet.
- VPN gatewayWith an active VPN, traffic is routed through the VPN provider's encrypted tunnel and gateway.
- Bluetooth Door: In scenarios involving tethering or Bluetooth data exchange, there is also a specific gateway.
Why is it a good idea to check and sometimes change your DNS settings?

There are several reasons to check which DNS you're using. With fast and reliable providers, browsing responds more quickly and intermittent errors are reduced. Some services prioritize privacy and don't log your queries; others filter phishing and malware. You might also want to check to avoid DNS blocks or to diagnose whether the problem lies with your internet service provider. All of this can be achieved with very simple changes, and on Android, without installing almost anything.
Don't confuse DNS privacy with total anonymity. Private DNS will encrypt queries, but it doesn't hide your overall traffic like a private DNS server does. VPNIt's a good step, no doubt, and worth enabling, but for comprehensive protection you'll need more layers of security. Even so, changing DNS can be the difference between a website loading on the first try or not, and It helps improve the experience at no cost..
How do I check which DNS my Android is currently using?
Method 1: Check private DNS in settings
Modern Android devices have Private DNS, which encrypts queries using TLS. Go to Settings, Network & Internet, and then Private DNS. If it's set to Automatic, you'll use your ISP's or router's DNS if it supports encryption; if you've entered an ISP hostname, queries will be encrypted to that service. This screen doesn't display IP addresses, but it tells you whether DoT is enabled and lets you confirm if you entered a hostname like .google.dn or Cloudflare. Enabling this option is quick and easy. Enhance your privacy without the hassle..
Method 2: Check the Wi-Fi network you are connected to
From Settings, Wi-Fi, tap your network and go to Advanced or Network Details. Many manufacturers have DNS 1 and DNS 2 fields. If they don't appear, when editing the network settings, change IP Settings to Static: the system will display the fields, although you don't need to save if you just want to view them. If you have a private DNS server active, keep in mind that the actual query may be encrypted as it travels to the host you configured, even if you see DNS servers assigned by DHCP. This method shows you the current values ​​on that network. It's the most direct way to check them with a tap of your finger.
Method 3: View DNS using non-root commands
Another universal method is to query the system for its network properties. You can install Termux and use the command `getprop net.dns1, net.dns2;` or connect the phone via USB and run `adb shell getprop` from your computer. You'll likely see multiple entries if there are more interfaces or if the system maintains alternatives. This technique is very useful when the manufacturer's settings layer hides details or when you want to confirm that the phone is indeed using a specific network. the solvers you're waiting for.
Method 4: Applications that display DNS and other network data
If you'd like to have everything at a glance, there are some very comprehensive utilities. IP Tools or GlassWire, for example, display public and private IP addresses, subnet masks, gateways, and active DNS servers, in addition to tools like Ping, Traceroute, Whois, port scanners, and network scanners. Glasswire It also offers dashboards and graphs to monitor usage and connections. Fing also inventories devices connected to your Wi-Fi, shows you the IP and MAC address of each, identifies brands and models, and provides the public IP address and basic configuration. These dashboards make it easier to detect intruders and granular control of your home network.
Method 5: External tests to confirm the resolver
When you want absolute certainty, run a DNS leak test. Sites like DNSLeakTest, DNSChecker, or WhatsMyDNS help verify which resolver is handling your queries and from what location. If you've enabled private DNS or changed your Wi-Fi servers, the test should reflect this. It's also a good idea to visit a website that shows your public IP address to determine if your problem was with DNS or general connectivity. Note: websites like WhatIsMyIP show your public IP address, which isn't your DNS, but They are used to diagnose internet connectivity..
Note about the browser's DNS cache on Android
Some desktop browsers allow you to view and clear their DNS cache, but this isn't usually accessible on mobile devices. Samsung Internet, for example, doesn't have a public screen to list the DNS cache. However, you can clear the browser cache from App Settings or check the effective resolver using the tests mentioned earlier. In case of occasional failures, clearing the browser cache and data, or restarting the network, often fixes resolution errors and prevents further issues without having to... delve into hidden menus.
How to change DNS on Android?
Recommended option: Private DNS with encryption
In recent versions, open Settings, Network & Internet, and go to Private DNS. Choose Provider hostname and enter the one for your preferred service. Some examples: Cloudflare uses 1.1.1.1.1.1 as the host for DoT, and Google uses dns.dot.google. By saving, DNS queries will travel encrypted, and if the provider promises not to keep logs, you improve privacy. This feature is device-wide and It works on both Wi-Fi and mobile data..
Wi-Fi network option: configure manual DNS
If your phone doesn't have a private DNS or you prefer to switch to a network DNS, tap and hold your Wi-Fi, tap Modify, and open advanced options. Change IP Settings to Static and fill in DNS 1 and DNS 2 with IPv4 addresses from your preferred provider. Change the DNS This way it only affects that network, so on other Wi-Fi networks or mobile data you'll use the default DNS servers, unless you have private mode enabled. It's a simple method and Useful on older phones or layers without DoT.
Popular DNS servers you can use
- Google DNS: 8.8.8.8 and 8.8.4.4; host for DoT dns dot google.
- Cloudflare: 1.1.1.1 and 1.0.0.1; host for DoT one dot one dot one dot one.
- Quad9: 9.9.9.9 and 149.112.112.112 with a focus on threat blocking.
If privacy is a priority, check each provider's policy. Some record minimal metrics, while others promise zero logs. For family settings, there are profiles with parental controls; for businesses, there are private resolvers. Choosing wisely provides added benefits, and Sometimes it prevents malicious websites..
Verification and diagnosis after the change
After switching, run a DNS leak test and a browsing test to your usual websites. Use Ping or Traceroute from IP Tools to check latency and routing. If everything is working correctly, great; if something seems off, check if you have both a private DNS server and a manual DNS server enabled, because the encrypted host will take priority. You can always turn Wi-Fi off and on again to force a renewal, and if you're still unsure, Restarting the router and mobile device clears caches and sessions.
More useful network settings on Android
Aside from DNS, Android offers extra features worth knowing about. Metered data helps you control your data usage on Wi-Fi with a limit; this option is found in the settings of the specific network. Wi-Fi Direct allows you to connect devices without a traditional access point and can save you time on local data transfers. On some older phones, you'll see WPS, either via a button or PIN, for quick pairing with compatible routers, although this is now largely obsolete for security reasons. Explore these options because They can improve your day-to-day life without you having to touch anything on the operator's end..
In your phone's information, you can see the MAC address used by the Wi-Fi interface. On modern Android devices, this is randomized for privacy reasons, and in your network settings, you can see the specific random MAC address used by that Wi-Fi network. If you're going to set up parental controls on your router, note both the actual and the random MAC address. It's a small detail, but... Avoid surprises when blocking or booking addresses.
Public IP, local IP and when to change them
Your public IP address is the one websites see; it's usually shared by all devices on your home network behind the router, thanks to NAT. Your local IP address identifies your mobile device within your local area network (LAN). Changing your mobile device's IP address rarely improves security on its own, and at home, using dynamic IPs via DHCP is usually the most practical solution. In specific scenarios, a static IP address provides stability for local servers or firewall rules. Choose what suits you best, keeping in mind that the critical factor is avoiding conflicts. Keep the network scheme well documented.
To find your public IP address, any IP address checker will display it instantly. Remember that this doesn't tell you which DNS server you're using, although it does help diagnose the outgoing server and your internet service provider. A DNS change doesn't change your public IP address, but it can change where your queries are resolved, which sometimes affects the geolocation of content. If you notice differences, check the DNS resolver and confirm with a leak test that... Point to the provider you chose.
DNS in mobile games, privacy and security
In online gaming, latency to the game server is crucial, but a DNS with poor response times can add slight delays during the connection phase. Some platforms use your IP address to match you by region and may apply network restrictions. Choosing a robust and stable DNS helps avoid initial bottlenecks and, combined with good 5 GHz Wi-Fi or 5G, makes for a smoother experience. For privacy, remember that private DNS encrypts queries, although It's not a substitute for a VPN if you're looking to cover all traffic..
How to change DNS settings on other devices and on the router
Windows lets you set DNS from Network Settings; macOS offers it in the Network section within Advanced; Linux enables it from IPv4 or IPv6 settings, and via the terminal by editing `resolv.dot.conf` in specific distributions. On an iPhone, go to Wi-Fi, enter your network, and configure manual DNS for that network. On your router, go to its control panel, locate WAN or Internet, and define the primary and secondary DNS servers. Changing it at the top has the advantage: all devices on your home network inherit the configuration. You don't have to touch them one by one..
Network tools that help you diagnose
The utilities included in applications like IP Tools or WiFi Tools are invaluable when something goes wrong. Ping tells you if there's a response; Traceroute shows you the hops; Whois tells you who manages an IP address or domain; the port scanner reveals open services on a host; the network scanner lists all the devices connected to your Wi-Fi. These are simple but very revealing functions, and together they allow you to verify that the DNS change has taken effect and that There are no background connectivity issues.
Common misconceptions about DNS
DNS isn't just used for browsing; it also plays a role in email, apps, and VoIP. Records aren't immutable; they can change, and in fact, they do change when a site migrates to a new server. And traditional DNS isn't inherently secure: attacks like cache poisoning and DNS hijacking exist. That's why using DoT or DoH encryption and relying on trusted providers adds layers of security, and it's a good idea to periodically validate with tests whether your DNS is working properly. The settings remain the same as you left them..
DNS propagation for website managers
If you manage a website and change its records, there's a propagation period until all servers worldwide update the data. This can range from minutes to days, depending on the TTL and the cache of each resolver. A trick: lower the TTL before a migration to speed up the change. If something gets stuck, clear local caches and consult with your registrar or hosting provider. These issues mainly affect website owners, but understanding them helps explain why sometimes one mobile device resolves to an old IP address while another sees the new one. It's worth keeping that in mind..
When to treat a Wi-Fi network as a metered network
If your Wi-Fi has a data limit, mark the network as metered in your Android settings. This way, the system controls syncs and large downloads. It's not directly related to DNS, but it's a handy setting when you're sharing your internet connection from another phone or using connections with a monthly data cap. Keeping your data usage under control is key, and Avoid surprises on your bill or data allowance..
You now have the resources to check which DNS your Android uses, change it securely, and validate the result. These include private DNS mode with encryption, Wi-Fi network settings, verification tools, and a couple of diagnostic utilities. You will leave your fine connectionYou'll gain privacy and, hopefully, eliminate those annoying little buffering and waiting times when browsing. Share this tutorial so more users can learn how to check and change DNS on Android.