How to Fix DNS Errors: Easy Solutions
Published: 13 Nov 2026
Your Wi-Fi shows a connection, but your browser still refuses to open a website. Does that mean your internet has stopped working? Not always. Sometimes your device connects to the internet but cannot find the website’s IP address because of a DNS issue.
In this guide, I’ll explain how to fix DNS errors in simple terms, along with why they occur, which solutions can help restore website access, how to check your connection, clear the DNS cache, change DNS servers, and troubleshoot problems on different devices.
Let’s first understand what this error means.
What Is a DNS Error?
A DNS error occurs when a device cannot find the IP address linked to a website’s domain name. DNS stands for Domain Name System. It works like an internet address book by matching website names, such as example.com, with the IP addresses that computers use to locate online services.
For example, a browser may show a DNS error when it cannot find the address linked to a website. This does not always mean the internet connection is completely down. The device may still connect to Wi-Fi, but it cannot translate the website name into the address needed to reach it.
Common DNS Errors and What They Mean
Different DNS messages can point to different problems. Understanding the message can help identify where to start troubleshooting.
- DNS_PROBE_FINISHED_NXDOMAIN: The DNS resolver reports that the requested domain does not exist. Check the website address first. If it is correct, the problem may involve the domain’s DNS records or a cached response.
- DNS_PROBE_FINISHED_NO_INTERNET: The browser cannot complete the DNS check because the device may have lost internet access or cannot reach the DNS server.
- ERR_NAME_NOT_RESOLVED: The browser cannot find the IP address associated with the website name. A typing mistake, DNS server problem, or domain issue may cause this error.
- DNS Server Not Responding: The device cannot get a response from its selected DNS server. The server may be temporarily unavailable, or something may be blocking the request.
- Server IP Address Could Not Be Found: The browser cannot obtain an IP address for the website. This can happen because of incorrect DNS settings or a problem with the domain.
The exact wording can vary between browsers and devices. Google Chrome also lists ERR_NAME_NOT_RESOLVED as a hostname resolution problem, while Cloudflare explains that NXDOMAIN means the resolver found no record for the requested domain.
What Causes DNS Errors?
DNS errors can come from the device, the network, the DNS provider, or the website itself. These are some common causes:
- Incorrect Website Address: A spelling mistake or an incorrect domain extension can send the browser to a name that does not exist.
- Temporary DNS Problems: A DNS server may become unavailable or fail to respond to requests for a short time.
- Outdated DNS Cache: A device or DNS resolver may keep an old result, which can prevent it from finding the current website address.
- Incorrect Network Settings: Wrong DNS addresses or other network settings can stop a device from contacting the correct DNS server.
- Router or ISP Issues: A router may have a temporary connection problem, or the internet provider’s DNS service may not respond properly.
- VPN or Security Software: Some VPNs, firewalls, and security tools change or filter DNS requests. Incorrect settings can interfere with website access.
- Website DNS Problems: A website owner may have missing or incorrect DNS records, nameserver settings, or other domain configuration issues.
Identifying the likely cause helps avoid trying unnecessary fixes. For example, if only one website fails while other websites work, the issue may be limited to that domain.
How to Fix DNS Errors
Try these solutions in order. Start with the simple checks before changing advanced network settings.
1. Check the Website Address
A small typing mistake can lead to a DNS error because the browser searches for the wrong domain.
- Check spelling: Review the website name carefully and look for missing or extra letters.
- Verify extension: Make sure the address ends with the correct extension, such as .com, .org, or .net.
- Try the homepage: If a link does not work, enter the website’s main domain directly in the browser.
- Use another site: Open a different trusted website to see whether the problem affects one domain or several websites.
2. Check Your Internet Connection
A DNS request needs a working network connection to reach a DNS server. If the device has lost internet access, changing DNS settings will not solve the main problem.
- Check Wi-Fi: Confirm that the device is connected to the correct wireless network.
- Test another device: Open the same website on another phone or computer connected to the same network.
- Try mobile data: Switch off Wi-Fi and use mobile data to see whether the website opens.
- Check connection status: Look for a message from the internet provider or router that indicates an outage.
3. Restart Your Router and Device
A restart can clear temporary connection problems and help network equipment establish a fresh connection.
- Turn off the router using its power button or unplug it from the electrical outlet.
- Wait briefly before turning it back on. Follow the manufacturer’s instructions if the router has a specific restart procedure.
- Allow it to reconnect fully before testing a website.
- Restart your device if the DNS error continues after the router reconnects.
4. Clear the DNS Cache
Devices store recently used DNS results in a temporary cache. This helps websites load faster because the device does not need to request the same address every time.
However, an outdated or incorrect entry can sometimes cause a website to open incorrectly.
On Windows, follow these steps:
- Open the Start menu.
- Search for Command Prompt.
- Select Run as administrator if Windows requests permission.
- Enter this command:
ipconfig /flushdns - Press Enter and wait for the confirmation message.
- Close Command Prompt and try opening the website again.
5. Change Your DNS Server
If the current DNS server is slow or unavailable, switching to another trusted DNS provider may help. A public DNS service can handle website lookup requests instead of the DNS server supplied automatically by the internet provider.
Common public DNS options include:
- Cloudflare DNS: 1.1.1.1 and 1.0.0.1
- Google Public DNS: 8.8.8.8 and 8.8.4.4
To change DNS settings on Windows:
- Open Settings and select Network & Internet.
- Choose Wi-Fi or Ethernet, depending on how the device connects.
- Open the network’s properties or DNS settings.
- Find the DNS server assignment option and select Edit.
- Choose Manual, enable IPv4, and enter the preferred and alternate DNS addresses.
- Save the changes and test the website.
6. Disable VPN or Proxy Temporarily
A VPN or proxy can route internet traffic through another server. Some services also use their own DNS settings. If those settings stop working, websites may fail to load.
- Disconnect VPN: Turn off the VPN temporarily and test the website again.
- Check proxy settings: Review the device’s network settings for a proxy that you do not recognize or no longer need.
- Test the result: If the website opens after disconnecting the service, review its settings or contact the provider for help.
- Restore protection: Turn the VPN or proxy back on after testing if it is needed for privacy, security, or work.
7. Check Firewall and Security Software
Firewalls and security applications help protect devices from unwanted network activity. However, an incorrect rule or an outdated security setting may block DNS requests.
- Review recent changes: Check whether the error started after installing or updating a security application.
- Check allowed traffic: Look for settings that may block network or DNS activity.
- Update the software: Install available updates from the official developer.
- Ask for support: Contact the security software provider if you cannot identify the setting causing the problem.
8. Update Network Drivers
A network driver allows the operating system to communicate with the device’s Wi-Fi or Ethernet hardware. An outdated or damaged driver can cause connection problems, including issues that prevent DNS requests from working correctly.
On Windows:
- Right-click the Start Button.
- Open Device Manager.
- Expand Network Adapters.
- Right-click the Wi-Fi or Ethernet adapter.
- Select Update Driver and follow the instructions.
9. Reset Network Settings
If basic fixes do not work, resetting network settings can remove incorrect configurations that may be causing DNS errors. However, this step may also remove saved network information.
On Windows:
- Open Settings: Go to Settings and find Network reset under Advanced network settings.
- Review warning: Read the information about what the reset will remove.
- Confirm reset: Follow the instructions to reset network settings.
- Reconnect Wi-Fi: After Windows restarts, reconnect to your wireless network.
On Smartphones:
- Find reset options: Open the system reset settings on your phone.
- Check changes: Review which network details the reset will remove.
- Reconnect devices: Enter saved Wi-Fi passwords again and restore any required VPN settings.
Note: If multiple devices show DNS errors, contact your internet provider before changing advanced network settings.
How to Fix DNS Errors on Different Devices
Solutions mainly depend on the device and operating system. The following basic checks can help smartphone and Mac users.
On a Mac
If a Mac cannot open websites because of DNS errors, first reconnect to the network. Then review the DNS server settings.
- Open System Settings.
- Select Network and choose the active connection, such as Wi-Fi.
- Open the network’s details or DNS settings.
- Review the listed DNS server addresses.
- If you need to use a different DNS provider, add its trusted server addresses and save the changes.
On an iPhone or iPad
Start by checking whether the device has a working Wi-Fi or mobile data connection.
- Reconnect to Wi-Fi: Turn Wi-Fi off and back on, then reconnect to the network.
- Restart the device: Restart the iPhone or iPad and test the website again.
- Review VPN settings: Temporarily disconnect a VPN if it may be interfering with DNS requests.
- Forget the network: If the issue affects one Wi-Fi network, forget it and reconnect using the correct password.
On an Android Phone or Tablet
Android devices may use DNS settings provided by the Wi-Fi network or a private DNS configuration.
- Reconnect to Wi-Fi: Disconnect from the current network and then connect.
- Check Private DNS: Open the network or connection settings and review the Private DNS option.
- Test another network: Try mobile data or a different Wi-Fi network to identify whether the issue is limited to one connection.
- Restart the phone: Restart the device if the error continues after reconnecting.
How to Know Whether the DNS Problem Is Fixed
After applying a solution, test the connection instead of assuming the error has disappeared.
- Open the website: Enter the original website address and check whether it loads normally.
- Try other websites: Visit a few trusted websites to confirm that browsing works across different domains.
- Test another device: Check whether other devices on the same network can access the internet.
- Reconnect later: If the problem returns, note when it happens and whether it affects one website or the whole network.
If one website fails, its DNS settings may need fixing. If several devices are affected, check the router or contact your internet provider.
Conclusion
I explained how to fix DNS errors, different DNS error messages, and practical solutions for Windows, Mac, and mobile devices, including clearing the DNS cache, changing DNS servers, and resetting network settings.
Know that the right solution depends on the source of the problem. Simple checks and basic troubleshooting can resolve many DNS errors, but issues involving website DNS records or your internet provider may require additional support.
Start with the easiest fixes and move to advanced steps only when necessary.
Frequently Asked Questions
I’ve included answers to address common questions about how to fix DNS errors.
1. What is the most common cause of DNS errors?
Common causes include temporary DNS server problems, incorrect network settings, and outdated DNS cache entries. A typing mistake in the website address can also cause an error. The exact cause depends on whether one website or several websites fail to open.
2. Can DNS errors happen even when Wi-Fi is connected?
Yes, a device can connect to Wi-Fi but still fail to access websites. This can happen when the DNS server does not respond, or the device cannot resolve a website’s domain name. Check whether other devices on the same network have the same problem.
3. Does clearing the DNS cache delete saved passwords?
No, clearing the DNS cache does not delete saved passwords, browser bookmarks, or personal files. It removes temporary website address information stored by the device. The device can request fresh DNS information when it visits websites again.
4. Is it safe to change the DNS server?
Changing to a trusted DNS provider is generally safe when the correct addresses are used. However, the DNS provider may process information about domain lookups, so review its privacy policy. Work, school, and managed networks may also require specific DNS settings.
5. What does DNS_PROBE_FINISHED_NXDOMAIN mean?
This error means the DNS resolver reports that the requested domain name does not exist. First, check whether the website address is correct. If it is correct, the domain owner may need to review its DNS records.
6. Can a router cause DNS errors?
Yes, a router may have temporary connection problems or incorrect DNS settings. Restarting it can sometimes restore normal communication with the DNS server. If several devices experience the same error, check the router and contact the internet provider if needed.
7. Why do DNS errors appear on only one website?
A single website may have missing or incorrect DNS records, an expired domain, or a temporary DNS problem. The device may also have an outdated cached result for that domain. If other websites work normally, the website owner or hosting provider may need to investigate.
8. Will changing DNS servers make the internet faster?
Changing DNS servers may improve website lookup time when the current DNS service responds slowly. However, it does not increase the download speed or upload speed provided by an internet plan. Overall internet performance also depends on the connection, device, and website server.
9. How do I fix DNS errors on my phone?
Start by reconnecting to Wi-Fi or switching to mobile data to test the connection. Review VPN and ‘Private DNS’ settings if the error continues. Restarting the phone or resetting network settings may help when simpler steps fail.
10. When should I contact my internet provider about DNS errors?
Contact the provider when several devices on the same network cannot open websites or DNS errors continue after basic troubleshooting. Share the error message and explain which solutions you have already tried. The provider can check its DNS service and investigate connection problems.
- Be Respectful
- Stay Relevant
- Stay Positive
- True Feedback
- Encourage Discussion
- Avoid Spamming
- No Fake News
- Don't Copy-Paste
- No Personal Attacks
- Be Respectful
- Stay Relevant
- Stay Positive
- True Feedback
- Encourage Discussion
- Avoid Spamming
- No Fake News
- Don't Copy-Paste
- No Personal Attacks