by William Sanders
According to data published by Cloudflare, the average DNS resolver provided by most internet service providers responds in over 100 milliseconds, meaning every webpage you open carries hidden latency before a single byte of content loads. If you have been wondering how to change your DNS server on Windows, you are already ahead of the majority of users who accept their ISP's default configuration without a second thought. A faster DNS resolver translates directly into snappier browsing, quicker application connections, and a noticeably more responsive network experience. For a broader set of Windows performance guides, browse our tech tips category.
The Domain Name System acts as the internet's phone book, translating human-readable addresses like palmgear.com into the numerical IP addresses that computers use to communicate. When you type a URL into your browser, your machine consults a DNS server before connecting to the destination, and the speed of that lookup affects every single page load you experience. Switching from your ISP's default resolver to a high-performance public option like Google's 8.8.8.8 or Cloudflare's 1.1.1.1 takes under five minutes but delivers results you notice immediately. If you are already comfortable navigating Windows networking, you may want to first check your current IP address on Windows before diving into DNS configuration.
This guide walks you through every method available on Windows, from the graphical settings panel that any beginner can navigate to the command-line approach preferred by power users and network administrators alike.
Contents
A widespread misconception holds that switching to a privacy-focused DNS resolver automatically encrypts all of your internet traffic, but standard DNS queries travel in plain text over UDP port 53, fully visible to anyone positioned between your device and the resolver. Services like Cloudflare's 1.1.1.1 offer DNS-over-HTTPS and DNS-over-TLS as optional configurations, which do encrypt the lookup itself, but they leave the rest of your connection unaffected by design. If full encryption is your goal, a VPN remains the appropriate tool, while a fast DNS resolver remains the appropriate tool for reducing lookup latency. According to Wikipedia's article on the Domain Name System, the protocol was designed in the early 1980s with performance and scalability as primary objectives — not privacy.
Switching DNS encrypts your lookups only if you specifically enable DNS-over-HTTPS; standard DNS queries remain unencrypted regardless of which resolver you choose.
Another persistent myth suggests that a different DNS server routes your traffic through a separate network, effectively hiding your activity from your internet service provider. Your ISP still handles every packet you send and receive; DNS is only the lookup layer, not the data-transport layer, and your browsing history, download volumes, and connection destinations remain visible to your provider through other means even after you change your DNS server on Windows. What the change accomplishes is reducing your dependence on your ISP's often slower and occasionally unreliable resolver infrastructure, which is a meaningful and measurable benefit in itself.
The graphical method works identically across Windows 10 and Windows 11 and requires no technical background to complete. Open the Start menu, type "Network Connections," and select "View network connections" from the results. Right-click the adapter you are currently using — either your Wi-Fi connection or your Ethernet adapter — and choose "Properties" from the context menu. Scroll down until you find "Internet Protocol Version 4 (TCP/IPv4)," double-click it, and select "Use the following DNS server addresses." Enter your preferred DNS in the first field and your alternate DNS in the second, then click OK and close all windows.
For Google's public DNS, use 8.8.8.8 as preferred and 8.8.4.4 as alternate. For Cloudflare's resolver, use 1.1.1.1 as preferred and 1.0.0.1 as alternate. If you also want to update your IPv6 DNS, repeat the process for "Internet Protocol Version 6 (TCP/IPv6)" using the corresponding IPv6 addresses provided by your chosen resolver.
Always configure both a preferred and an alternate DNS server so that your connection falls back gracefully if the primary resolver experiences an outage.
Power users and network administrators often prefer setting DNS through the command line because it allows bulk configuration across multiple adapters and supports scripting for repeated deployments across many machines. Open an elevated Command Prompt or PowerShell window by right-clicking the Start button and selecting "Windows Terminal (Admin)" or "Command Prompt (Admin)." To set DNS on your primary adapter, run netsh interface ip set dns "Wi-Fi" static 1.1.1.1, replacing "Wi-Fi" with your adapter's exact name and 1.1.1.1 with your chosen primary resolver. Add a secondary server by running netsh interface ip add dns "Wi-Fi" 1.0.0.1 index=2, then flush your DNS cache immediately with ipconfig /flushdns so the system begins using the new resolver without delay.
If you manage more than one Windows machine on a shared network, applying DNS changes from a single administrative workstation pairs well with the techniques covered in our guide on how to share files between two Windows computers on a network.
The free public DNS ecosystem is dominated by a small number of well-resourced operators whose performance consistently exceeds what residential ISPs provide. The table below compares the most widely used options across the metrics that matter most to everyday users making the decision of how to change their DNS server on Windows.
| DNS Provider | Primary Address | Secondary Address | Avg. Response (ms) | DNS-over-HTTPS | Content Filtering |
|---|---|---|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 | 11 | Yes | Family mode (1.1.1.3) |
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | 20 | Yes | No |
| OpenDNS Home | 208.67.222.222 | 208.67.220.220 | 25 | Yes | Yes (category-based) |
| Quad9 | 9.9.9.9 | 149.112.112.112 | 30 | Yes | Yes (malware blocking) |
| ISP Default | Varies | Varies | 80–120 | Rarely | No |
Paid DNS services such as NextDNS or Cisco Umbrella offer granular filtering, detailed query logs, and enterprise-grade uptime guarantees that go well beyond what free resolvers provide. For households where restricting content access is a priority, a service like NextDNS allows you to block specific categories at the DNS level, functioning as a network-wide complement to the tools described in our guide on how to set up parental controls on Windows. Pricing typically ranges from free for limited query volumes to roughly $20 per month for unlimited business-tier plans, a negligible cost against the added administrative control you gain across every device on your network.
Changing your DNS server on Windows without benchmarking the result leaves you without any baseline for comparison and no confirmation that the change delivered improvement for your specific location. Use the free tool DNS Benchmark by Gibson Research Corporation or the open-source tool namebench to measure your new resolver's actual response time from your geographic region, since performance varies considerably by location and by time of day. Run each test at least three times and average the results to account for network variability before drawing any conclusions about which resolver serves your connection best.
Run your DNS speed test from your actual machine rather than trusting published averages — resolver performance varies significantly by geographic location and local network conditions.
A faster DNS resolver delivers its greatest benefit when combined with other Windows networking and performance improvements that reduce competing system load. Eliminating unnecessary startup programs, for instance, reduces the CPU contention that can delay DNS cache initialization at boot — a process covered in detail in our guide on how to disable startup programs on Windows to speed up boot. You can further reduce redundant DNS lookup volume by confirming that your browser's built-in DNS prefetch feature is active, which pre-resolves domain names for links visible on the current page before you click them.
Windows resets custom DNS settings after major operating system updates, network adapter driver reinstallations, or changes to your router's DHCP configuration that push new DNS assignments to connected devices automatically. You notice the reversion when pages that loaded quickly begin lagging again, or when your benchmark results show response times climbing back toward ISP-level latency without any other obvious cause. Verify your current DNS settings any time your connection feels sluggish by revisiting the Network Connections panel or running nslookup in Command Prompt to confirm which resolver is actively answering your queries.
Routine maintenance of your DNS configuration takes less than five minutes and catches reversion issues before they degrade your experience for days unnoticed. Once a month, open Command Prompt and run ipconfig /all to confirm your DNS server addresses match the ones you originally configured, then flush the cache with ipconfig /flushdns to clear any stale or corrupted entries that have accumulated over time. If you manage multiple Windows devices on the same network, our walkthrough on how to find saved WiFi passwords on Windows offers related techniques for auditing your full network configuration in a single session.
Changing your DNS server reduces the time required to resolve domain names, which delivers a measurable improvement in page load times — particularly for the first visit to any site not already in your local cache. The actual gain depends on how slow your current ISP resolver is and how close you are to the new resolver's infrastructure, but most users report a noticeable difference after switching to Cloudflare or Google's public DNS.
When you change DNS on a single Windows machine using the steps above, the change applies only to that one device. To apply a new DNS server to every device on your home network simultaneously, you configure the DNS settings in your router's admin panel rather than on each individual computer separately.
Both Google and Cloudflare operate public DNS resolvers at significant scale with strong security track records, and both publish transparency reports detailing their data handling practices. Cloudflare built 1.1.1.1 specifically around a privacy-first model and commits to not logging individual IP addresses beyond a 24-hour rolling window, making it a well-regarded choice for privacy-conscious users.
A restart is not required, but running ipconfig /flushdns in Command Prompt immediately after making the change is strongly recommended. This command clears the existing DNS cache so your system immediately begins querying the new resolver rather than continuing to serve cached responses from the old one.
Your DNS server is the first handshake your computer makes with the internet — upgrading it costs nothing and changes everything about how fast the web feels.
About William Sanders
William Sanders is a former network systems administrator who spent over a decade managing IT infrastructure for a mid-sized logistics company in San Diego before moving into full-time gear writing. His years in IT gave him deep hands-on experience with networking equipment, routers, modems, printers, and scanners — the kind of hardware most reviewers only encounter through spec sheets. He also has a long background in consumer electronics, with a particular focus on home audio and video setups. At PalmGear, he covers networking gear, printers and scanners, audio and video equipment, and tech troubleshooting guides.
You can get FREE Gifts. Or latest Free phones here.
Disable Ad block to reveal all the info. Once done, hit a button below