Software⏱️ 4 min read📅 2026-06-11

How to Fix: "the dns server is not a valid ip address" error

DNS server error on Windows 10

Quick Answer: Check if the DNS server is blocked by your network administrator or if it's a regional restriction.

The 'DNS server is not a valid IP address' error occurs when you attempt to set a DNS server that is not recognized by your operating system. This issue affects Windows users who try to configure their network settings with an invalid DNS server, such as Google's public DNS server (8.8.8.8). The frustration comes from the fact that this error can be easily resolved by identifying and correcting the incorrect DNS server configuration.

Resolving this error is crucial for maintaining a stable internet connection and ensuring that online applications function correctly. In this troubleshooting guide, we will walk you through the steps to identify and fix the 'DNS server is not a valid IP address' error on Windows 10.

💡 Why You Are Getting This Error

  • The primary reason for this error is that Google's public DNS server (8.8.8.8) may not be recognized by your operating system due to various reasons such as outdated DNS server configurations or incorrect network settings. Additionally, some firewalls or antivirus software might block the DNS server, preventing it from being recognized.
  • Another possible reason for this error is that the DNS server you are trying to use is behind a proxy or VPN connection, which can prevent your operating system from recognizing it as a valid IP address.

🔧 Proven Troubleshooting Steps

Check and update DNS server configuration

  1. Step 1: Step 1: Open the Network and Sharing Center by clicking on the Start button and selecting 'Network & Internet'. Then, click on 'Change adapter settings' on the left side of the window.
  2. Step 2: Step 2: In the Network and Sharing Center window, find the Ethernet or Wi-Fi connection you are using and double-click on it to open its properties. Click on the 'Internet Protocol Version 4 (TCP/IPv4)' tab.
  3. Step 3: Step 3: In the Internet Protocol Version 4 (TCP/IPv4) Properties window, click on the 'Advanced' button and then select the DNS server you want to use from the list of available options. You can also add a new DNS server by clicking on 'Add' and entering the IP address manually.
  4. Step 4: Step 4: Click 'OK' to save the changes and close all the windows.

Check firewall and antivirus software settings

  1. Step 1: Step 1: Open your Windows Firewall settings by clicking on the Start button and selecting 'Settings'. Then, click on 'Update & Security' and then 'Windows Defender Firewall'. Click on 'Advanced settings' on the left side of the window.
  2. Step 2: Step 2: In the Windows Defender Firewall Advanced Settings window, find the DNS server you are trying to use in the list of allowed applications. If it is not listed, click on 'Add rule' and follow the prompts to add a new rule for your DNS server.
  3. Step 3: Step 3: For antivirus software, check if any rules or settings are blocking the DNS server. You can do this by opening the antivirus software's settings window and searching for DNS server settings. If you find any rules that block the DNS server, disable them.

✨ Wrapping Up

By following these steps, you should be able to resolve the 'DNS server is not a valid IP address' error on Windows 10. Remember to always verify your network settings and DNS server configurations to ensure a stable internet connection.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions