Private DNS Server Cannot Be Accessed? Fix Android

Android's Private DNS server cannot be accessed message means your phone can't reach the encrypted DNS service you've chosen. Try Automatic first. If browsing returns, check the custom hostname and network before restoring that provider.

DNS turns website names into the addresses your phone connects to. A Wi-Fi connection can stay connected while that lookup fails, so a visible Wi-Fi symbol doesn't confirm internet access.

1. Switch the custom provider to Automatic

Open Settings > Network & internet > Private DNS. On phones with different Settings menus, search Settings for Private DNS. Google recommends the Settings search when that menu is hard to find.

Note the current provider hostname, choose Automatic, and tap Save. Open a fresh website in your browser, then try an app that couldn't connect. Try a site you haven't just opened, so a saved page doesn't hide the problem.

Drawing of Android Private DNS options with Automatic and Save selected

Automatic lets Android use the network's DNS settings instead of requiring a connection to your chosen provider. It can use encrypted DNS where the network supports it. Choosing Off turns off Android's Private DNS feature.

If the message disappears and pages load, keep Automatic while you check the custom entry. If the phone still can't browse, compare connections using section 3.

A DNS setting won't repair a disconnected router or a missing mobile signal.

I'd try Automatic before forgetting the Wi-Fi network. It changes the setting named in the warning without making you enter the Wi-Fi password again.

2. Enter a hostname, not a DNS address

Return to Private DNS and check what you entered. Private DNS provider hostname expects a name supplied by the provider. It doesn't take the numeric DNS addresses used in a router or a Windows adapter's DNS fields.

For Google Public DNS, the entry is dns.google. Enter that name by itself, without https://, a slash, a port number, or spaces. Select Private DNS provider hostname, enter the name, and tap Save.

The Android Private DNS instructions give that hostname for Android 9 and later. A different provider needs its own published DNS-over-TLS hostname for encrypted lookups, which can differ from its website address.

If you use a personal filtering service, copy the hostname from your own account's setup page. A generic server name might reach the service without applying your personal filters.

Check the provider's setup instructions rather than borrowing another person's entry.

Try browsing after saving. If the warning returns with a correctly entered hostname, the service may be unavailable or unreachable from that connection. Try a different connection before touching the remaining phone settings.

3. Try the cellular connection and another Wi-Fi network

Disable Wi-Fi, leave the custom hostname selected, and check browsing through your carrier. Next, connect to a second trusted wireless network if you can.

When just one connection fails, check its network settings. If every connection fails, check the phone or DNS provider.

If cellular data works but your home Wi-Fi fails, check the home network. Restart your router when other people can spare the interruption, then reconnect.

If every device has lost internet access, deal with the router or provider connection first.

If another Wi-Fi network works, ask the failing network's administrator whether it permits DNS-over-TLS. That encrypted connection uses port 853. A network can allow ordinary browsing but block that connection to an external DNS provider.

Don't open router ports to the phone or turn off its firewall to fix this. The connection is outbound. On a managed network, the administrator controls whether external encrypted DNS connections are permitted.

For a phone that can't join Wi-Fi at all, use the Android Wi-Fi connection checks. A failure to join the network happens before the Private DNS lookup this message describes.

4. Complete the public Wi-Fi sign-in

Hotel, airport, and cafe Wi-Fi may need a sign-in page before allowing normal internet access. A strict custom DNS setting can prevent the required page from opening despite a working Wi-Fi link.

Set Private DNS to Automatic and reconnect to that Wi-Fi. Tap the network's sign-in notification if it appears, then complete the venue's access steps. After ordinary websites load, try your preferred hostname again.

If the custom setting breaks the connection again, leave Automatic on that network. That suggests the venue's connection blocks or doesn't work with your custom provider. Repeatedly entering the same hostname won't remove that restriction.

Private DNS protects DNS queries and answers. It doesn't encrypt every app's traffic or turn public Wi-Fi into a private network. Keep using secure websites even after the warning clears.

5. Check VPN and filtering apps separately

A VPN or DNS-changing app can handle name lookups itself. Use your personal VPN's Disconnect control, or pause your filtering app, then repeat the website check. Keep the Android setting on Automatic during this comparison.

If browsing returns only when that app is paused, open the app's connection or DNS settings and follow its support instructions. Changing Android's hostname repeatedly isn't useful while another app controls the connection.

On a work-managed phone, ask the administrator before changing its VPN or filtering setup. Give them the exact warning and say whether it happens on cellular data, work Wi-Fi, or both.

IT can then focus on the connection that failed.

When several Android apps fail but another computer reports DNS trouble too, the DNS server connection guide helps check the shared router connection. Keep the phone's Private DNS steps separate from Windows commands.

Get help with the failing connection

If Automatic works but your provider hostname fails on several networks, send the DNS provider the hostname, phone model, Android version, and networks tried.

Ask whether its DNS-over-TLS server is available and whether your account's hostname has changed.

If even Automatic fails on cellular data and trusted Wi-Fi, use your phone maker's connectivity support. Google's network settings help explains the supported Private DNS options and how to find them.

Resetting the whole phone makes little sense when choosing Automatic already clears the warning. Keep the setting that works while the provider or network administrator checks why the custom connection fails.

The Short Version

Choose Automatic, then check the custom hostname and compare Wi-Fi with cellular data. Complete public Wi-Fi sign-in before restoring a custom provider.

If only that provider fails across networks, report the encrypted DNS failure to the provider's support team.

Checked December 2, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment