How To Change DNS Settings On Windows 10: A Complete Step-by-Step Guide For Faster, Secure Browsing
To change your DNS settings on Windows 10, access the Network Connections menu, select your active network adapter, open its properties, and manually assign the IPv4 or IPv6 addresses of your chosen secure DNS provider. This adjustments redirects your internet traffic away from slow, unencrypted internet service provider resolvers to high-performance third-party servers. Executing this change correctly optimizes network latency, increases browsing privacy, and resolves domain-related connectivity drops.
Pre-Configuration Network Audit and DNS Provider Selection
Before altering the core networking parameters of Windows 10, you must prepare your local workstation environment and select an optimal target DNS provider. The default Domain Name System (DNS) servers assigned by your Internet Service Provider (ISP) are often congested, slow to update their zone files, and prone to tracking your web traffic for advertising profiles. By transitioning to a secure, independent DNS resolver, you leverage global Anycast routing networks designed to minimize lookup latencies and resist DNS poisoning attacks.
You should complete this preparatory phase to avoid network disconnects and ensure you have all configuration parameters ready before modifying system adapter settings.
- Required Operating System Permissions: Local Administrative privileges are mandatory to modify network adapter settings via the Windows Settings interface or the legacy Control Panel.
- Target DNS IP Addresses: Choose a reputable, high-availability public resolver. Secure both the primary (preferred) and secondary (alternate) IP addresses for IPv4, and optionally IPv6, to maintain redundancy.
- Active Network Status: Establish a stable internet connection via Ethernet or Wi-Fi to verify connectivity immediately after applying changes.
- Network Command Access: Access to the Windows Command Prompt (cmd.exe) or Windows PowerShell is required to flush local DNS resolver caches and verify new path metrics.
- Time and Budget Allocation: This procedural modification requires approximately 5 to 10 minutes of technical configuration time and incurs $0 in software or licensing costs.
Step-by-Step Configuration of Windows 10 Domain Name System Settings
There are two main ways to change DNS settings in Windows 10. The legacy Control Panel method remains the most reliable option across all versions of Windows 10, as it directly modifies the network adapter binding configurations and bypasses potential UI bugs in the modern Settings application. Below are the precise steps for both the classic Control Panel method and the modern Settings interface, followed by the mandatory command-line cache flush.
Step 1: Open the Network Connections Adapter Window
To modify your adapter parameters directly, bypass deep menus by launching the legacy network configurations control panel.
- Press the Windows Key + R simultaneously to launch the Run dialog box.
- In the text field, type ncpa.cpl and press Enter or click OK. This system shortcut opens the Network Connections folder immediately.
- Identify your active network interface. If you are connected to the internet via a network cable, locate the adapter labeled Ethernet. If you are on a wireless network, locate the adapter labeled Wi-Fi. Active connections display green status bars, while inactive ones display a red red cross mark.
Step 2: Access the Network Adapter Properties
Once you locate your active connection, you must access its protocol properties to update your IP parameters.
- Right-click your active network adapter (Ethernet or Wi-Fi) and select Properties from the context menu.
- If prompted by Windows User Account Control (UAC) for administrative authorization, click Yes to proceed.
- In the Properties dialog window, locate the list under the section labeled "This connection uses the following items."
- Scroll down and click once on Internet Protocol Version 4 (TCP/IPv4) to select it. Make sure not to uncheck the checkbox next to it, as this would disable the protocol entirely.
- Click the Properties button located directly beneath the list box.
Step 3: Input Custom Preferred and Alternate DNS Server Addresses
This step directs your network traffic away from default local ISP routing to your chosen high-speed public DNS resolvers.
- In the Internet Protocol Version 4 (TCP/IPv4) Properties window, locate the radio buttons at the bottom of the General tab.
- Select the radio button labeled Use the following DNS server addresses. Selecting this option unlocks the editable text fields below.
- Click inside the Preferred DNS server field and input the primary IP address of your chosen provider. For example, if you are using Cloudflare, enter 1.1.1.1.
- Click inside the Alternate DNS server field and input the secondary IP address of your chosen provider. For Cloudflare, enter 1.0.0.1.
- Select the checkbox labeled Validate settings upon exit to prompt Windows to run a quick diagnostic check on the newly assigned IP addresses.
- Click OK to save the IPv4 configuration. If you wish to configure IPv6, select Internet Protocol Version 6 (TCP/IPv6) from the adapter properties window and repeat this process using your provider's IPv6-specific addresses.
- Click Close in the main network adapter properties window to apply the changes to your system's network stack.
Warning: Do not enter duplicate IP addresses in both the Preferred and Alternate DNS fields. The alternate resolver is a fallback; if the preferred server experiences routing issues or temporary downtime, your system relies on the alternate IP to maintain uninterrupted internet connectivity.
Step 4: Alternative Method Using the Windows 10 Modern Settings App
For users running Windows 10 Version 2004 or later, you can configure DNS using the redesigned modern Settings panel.
- Press the Windows Key + I to launch the main Settings panel.
- Click on the Network & Internet category.
- On the left sidebar, click Status to view active adapters, then click the Properties button directly underneath your active connection.
- Scroll down the properties screen until you locate the section labeled IP settings.
- Click the Edit button located beneath the IP assignment details.
- In the Edit IP settings popup menu, switch the dropdown selection from Automatic (DHCP) to Manual.
- Toggle the IPv4 switch to the On position to reveal the configuration fields.
- Enter your custom IP addresses in the Preferred DNS and Alternate DNS fields.
- Click Save to apply the new configurations to your active network card.
Step 5: Flush the Local DNS Resolver Cache
To prevent your system from using outdated DNS mapping records cached on your local storage drive, you must clear the resolver cache.
- Click on the Windows Start menu button or press the Windows Key.
- Type cmd into the search field.
- Right-click on Command Prompt in the search results and select Run as administrator.
- Inside the Command Prompt window, type ipconfig /flushdns and press the Enter key.
- Verify that the command prompt returns the message: "Successfully flushed the DNS Resolver Cache."
- Close the Command Prompt window. Your system will now resolve all future web queries using your new DNS servers.
Pro-Tip: If your web pages still load using old DNS paths after completing a cache flush, you may also need to clear your web browser's internal DNS cache. In Google Chrome, Microsoft Edge, or Brave, navigate to the internal diagnostics URL under your browser's network-internals path, find the DNS tab, and click the clear host cache button.
Changing the DNS server on Windows
Performance Comparison of Public DNS Providers for Windows 10
Choosing the right DNS provider depends on your prioritizing speed, browsing privacy, or content filtering. The following table highlights the standard, high-performance public DNS resolvers compatible with Windows 10.
| DNS Provider Name | Primary IPv4 Address | Secondary IPv4 Address | Primary IPv6 Address | Key Performance Metric / Features |
|---|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | 2606:4700:4700::1111 | Lowest latency globally, strict privacy policy with 24-hour log deletion. |
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | 2001:4860:4860::8888 | Excellent global reach, highly resilient to DDoS attacks, logs kept up to 48 hours. |
| Quad9 | 9.9.9.9 | 149.112.112.112 | 2620:fe::fe | Automatic blocklist of malicious domains, threat-intelligence integration. |
| OpenDNS Home | 208.67.222.222 | 208.67.220.220 | 2620:0:ccc::2 | Customizable content filtering, parental controls, robust web security tools. |
| AdGuard DNS | 94.140.14.14 | 94.140.15.15 | 2a10:50c0::ad1:ff | Server-side blocking of ad servers, trackers, and malicious phishing sites. |
Common Post-Configuration Network Failures and Fixes
Altering the DNS configuration on Windows 10 can sometimes cause issues if you misconfigure network settings or if security software blocks the change. Below are the most common failure scenarios along with technical solutions to fix them.
Scenario A: "No Internet Access" Icon Appears After Changing DNS Settings
This error occurs when the Windows network diagnostics framework fails to connect to the newly assigned IP addresses, resulting in a loss of internet access.
- Root Cause: You entered a typo in the IP addresses, or your local network uses a strict security profile that restricts DNS queries (Port 53 traffic) to default ISP-provided servers.
- Actionable Fix: Re-open your network adapter properties window using the run command ncpa.cpl. Inspect the preferred and alternate DNS fields for entry errors. If the numbers are correct but you still cannot connect, revert your DNS settings to Obtain DNS server address automatically. Next, test your network connection. If your connection works, check whether your router's built-in firewall blocks outbound DNS queries to third-party IPs.
Scenario B: "DNS Server Is Not Responding" Diagnostic Error
This error occurs when Windows tries to resolve web domain names but the requested DNS server fails to send a response back.
- Root Cause: The public DNS provider is experiencing localized downtime, or your third-party antivirus suite or software firewall is blocking outbound connections on Port 53.
- Actionable Fix: Temporarily disable your third-party antivirus or firewalls to check if they are blocking the connection. If the connection works with the security software disabled, add an outbound rule in your firewall settings to allow UDP and TCP traffic over Port 53. Alternatively, switch to another reliable provider, such as Google Public DNS, to check if the issue is a localized outage with your first choice.
Scenario C: Unresolved DNS Leaks While Connected to a VPN Service
Your Windows 10 system bypasses your VPN tunnel's secure DNS servers, causing DNS leak vulnerabilities.
- Root Cause: Static DNS configurations hardcoded into your Windows 10 network adapter properties can override the DNS routes pushed by your Virtual Private Network client.
- Actionable Fix: Open your VPN software's settings and enable options like "DNS Leak Protection" or "Force All Traffic Through VPN DNS." If the leak continues, set your physical adapter's IPv4 properties back to Obtain DNS server address automatically before launching your VPN client. This allows the VPN software to assign its secure virtual DNS servers during your session.
Frequently Asked Questions
Does changing DNS settings on Windows 10 increase my actual download speeds?
No, changing your DNS settings does not increase your raw bandwidth or file download speeds. It does, however, reduce lookup latency, which speeds up the time it takes for websites to start loading after you type their address or click a link.
Is it safe to use third-party DNS servers on my computer?
Using reputable third-party DNS services like Cloudflare, Google, or Quad9 is highly secure and often safer than using default ISP servers. These trusted providers offer security features like automatic blocking of phishing domains and built-in malware protection.
Why does my DNS configuration revert back to default values after a reboot?
This issue typically happens when your third-party VPN client, network optimization utility, or antivirus software overrides your system settings on startup. To prevent this, check the settings in your security or VPN programs and turn off any options that automatically manage your DNS configurations.
What is the difference between IPv4 and IPv6 DNS settings in Windows 10?
IPv4 uses standard 32-bit addresses, while IPv6 uses a newer 128-bit addressing format. If your ISP supports IPv6, you should configure both IPv4 and IPv6 DNS addresses on your adapter to avoid DNS lookup delays and potential security leaks.
Elevate Your Network Performance and Security
Optimizing your system's DNS settings is one of the easiest ways to secure your privacy and enjoy a smoother browsing experience. For even better protection and performance, consider configuring these custom DNS settings directly on your home router to secure every device on your network automatically.