We’ve all been there: you click a link, your connection abruptly drops, and you’re left glaring at a bleak, grey screen. Seeing DNS_PROBE_FINISHED_NXDOMAIN flash across your browser looks intimidating, but under the hood, your computer is basically just shrugging its shoulders and telling you, "I have no idea where this website lives."
In plain English, your machine or phone is having trouble turning that familiar web address into the actual IP address it needs to load the page. Don't panic - your laptop isn't fried, and the global web hasn't collapsed. Nine times out of ten, you can get things running smoothly again in about five minutes with a couple of quick commands or by swapping a network setting.
Let's walk through how to knock this out once and for all, whether you are on Windows, macOS, or your phone.
Quick Sanity Checks (Try These First)
Before we start tweaking network adapters or popping open command prompts, take thirty seconds to knock out these two simple checks. They honestly resolve the issue more often than you'd expect:
- Power-cycle the router: It sounds cliché, but it clears out tons of temporary routing glitches. Pull the power cable from the back of your router, give it a solid 10-count, plug it back in, and give it a minute or two until all the green status lights settle.
- Open a Private or Incognito window: Hit CTRL + Shift + N (or Command + Shift + N on a Mac) to pop open a fresh private window. If the page loads right up without complaint, your main browser cache is just holding onto bad routing data, meaning a simple history and cache wipe will sort it out.
If neither of those did the trick, let's roll up our sleeves and look under the hood.
What Actually Causes This Error?
To keep things conversational without turning this into a networking textbook: the Domain Name System is basically the internet's contact book. When you type google.com, your machine asks a DNS server, "Hey, what number is that?" and expects back a series of digits - an IP address - that computers use to talk to each other.
Whenever that upstream DNS server stalls out, your provider has a minor hiccup, or your local machine caches an outdated record, that look-up lookup falls flat. Your browser throws its hands up, prints NXDOMAIN (short for Non-Existent Domain), and gives up. Think of it like looking for a name in a directory where that specific page was ripped out.
How to Fix It on Windows
If you're on a Windows PC, the most reliable fix involves cleaning house in the Command Prompt and pointing your adapter to a reliable public DNS service.
1. Flush the Cache and Reset Your IP via Command Prompt
This wipes away stale network records, requests a fresh local address, and essentially resets your system's network plumbing back to baseline.
- Press the Windows Key, type
cmd, then right-click on Command Prompt and pick Run as administrator. - In the black console window that pops up, run each of these commands one by one, hitting Enter after every line:
ipconfig /release(Drops your active IP lease; don't worry if your internet cuts out for a second.)ipconfig /flushdns(Dumps the local DNS cache - you should see a line confirming it cleared successfully.)ipconfig /renew(Grabs a clean, new IP address from your router.)netsh int ip set dns(Resets your core TCP/IP stack configuration.)netsh winsock reset(Rebuilds the underlying Windows networking catalog.)
Quick tip: The prompt will tell you to reboot, but hold off for just a minute so we can tweak your DNS settings first, saving you an extra restart.
2. Point Your Connection to a Custom DNS
The default DNS servers automatically handed out by your internet service provider can get bogged down, experience micro-outages, or fail to resolve specific routes. Swapping over to stable, rock-solid resolvers like Google or Cloudflare fixes this problem almost instantly.
- Head into Control Panel > Network and Internet > Network and Sharing Center.
- Look at the left sidebar and click on Change adapter settings.
- Right-click whatever connection you're currently using (your Wi-Fi or your Ethernet cable) and choose Properties.
- Scroll through the list, highlight Internet Protocol Version 4 (TCP/IPv4), and hit the Properties button right below it (or just double-click it).
- Click the radio button for Use the following DNS server addresses, then fill in these numbers:
- Google DNS: Preferred:
8.8.8.8| Alternate:8.8.4.4 - Another great option: Cloudflare DNS (
1.1.1.1and1.0.0.1), which is lightning fast and privacy-focused.
Hit OK to save your changes, close the windows, and give your computer a full restart.
If things are still acting up after a reboot, you might have third-party background software or old network drivers interfering with your connection. Booting Windows into Safe Mode with Networking is a solid way to test if your basic network drivers work when all the background bloat is stripped away.
Fixing the Error on a Mac
The approach on macOS is virtually identical, even if the menu names and terminal commands look slightly different. Most of the time, clearing the local resolver cache does the trick.
- Open your terminal by navigating to Applications > Utilities > Terminal (or hit Command + Space and type
Terminal). - Paste in
sudo killall -HUP mDNSResponderand press Enter. - Type your Mac's login password when prompted. You won't see any asterisks or characters appear on screen while typing - that's completely normal security behavior - so just type it out blind and press Enter.
To switch DNS providers manually: Hop into System Settings > Network, select your Wi-Fi or Ethernet connection, click Details..., and switch to the DNS tab. Hit the little + icon at the bottom of the DNS servers list, punch in 8.8.8.8, and save the configuration.
Resolving It on Phones and Tablets (Android & iOS)
Running into this on your mobile device usually points right back to how your phone handles your home Wi-Fi. If you're seeing this while out and about on cellular data, toggling Airplane Mode on and off for ten seconds is pretty much your only toggle, but fixing your Wi-Fi profile is straightforward.
On Android:
- Jump into your Settings app and open up Wi-Fi (or Network & Internet).
- Tap the gear icon next to your active network, or long-press its name to view options.
- Tap Edit network or look for an Advanced drop-down menu.
- Find the IP Settings field, change it from DHCP over to Static.
- Scroll down to the DNS 1 and DNS 2 rows, type in
8.8.8.8and8.8.4.4, then hit save.
On iPhone (iOS):
- Open Settings and tap on Wi-Fi.
- Find the network you’re connected to and tap the little blue "i" icon next to the name.
- Scroll down toward the bottom of the page and tap Configure DNS.
- Switch the mode from Automatic to Manual, delete any existing provider entries listed there, and tap Add Server to enter
8.8.8.8.
Rogue Browser Settings and Antivirus Clashes
Every once in a while, your entire home network is functioning smoothly, but Chrome alone decides to throw this error code at you.
- Reset Chrome Flags: Type
chrome://flagsright into your address bar and hit Enter. Look up toward the top right of the page and hit the Reset all button, then restart your browser. Sometimes an experimental feature or beta flag you turned on months ago creates a quiet routing conflict. - Check Your VPN and Security Suites: If you run a VPN, flip it off for a minute to see if the page comes back. When a VPN gateway runs into issues, your browser will often throw an NXDOMAIN error instead of admitting the proxy broke. The same goes for third-party antivirus suites with web-shield modules - they occasionally flag safe domains as false positives and sever the look-up. Pause web protection briefly and test the site again.
Work your way down this list, and you should be back to browsing without that grey warning screen getting in your way. Just keep in mind: if every other site on the internet loads instantly and it's literally just one specific domain failing across all your devices, the website owner might have let their domain lapse or messed up their records, meaning the fix is out of your hands until they patch things up on their end.
