Disabling Automatic DNS Configuration in Windows 11 without Disabling DHCP

Abstract: Resolve DNS configuration conflicts in Windows 11 by manually setting DNS servers while keeping DHCP enabled for automatic IP address assignment.

Created: 2026-08-04 by

To disable automatic DNS configuration in Windows 11 while keeping DHCP enabled, you must switch the IPv4 DNS assignment from "Automatic (DHCP)" to "Manual." This process allows you to specify custom DNS servers or leave them blank for a null configuration without disrupting the IP address lease obtained via DHCP. The steps involve navigating through the Network Connections settings and modifying the Internet Protocol Version 4 properties.

Understanding DHCP and DNS Interaction

It is important to clarify that disabling automatic DNS does not mean disabling DHCP entirely. DHCP (Dynamic Host Configuration Protocol) is responsible for assigning your device an IP address, subnet mask, gateway, and DNS server information from your router or network administrator. When you configure DNS manually, you are only overriding the specific DNS portion of the DHCP lease. The IP address assignment remains dynamic, ensuring that if your network topology changes, your computer still receives a valid IP configuration automatically. Many users confuse these two services because they are often bundled together in the network adapter settings. However, separating them gives you granular control over name resolution while maintaining network connectivity integrity. If you were to disable DHCP entirely, your device would lose its ability to communicate on the local network unless you assigned a static IP manually, which is rarely desirable for standard desktop or laptop usage.

Accessing Advanced Network Settings

The first step involves locating the correct network adapter. Windows 11 provides multiple pathways to access these settings, but the most direct method uses the Settings application. You can press Win + I to open Settings and navigate to Network & internet. From there, select Advanced network settings on the left sidebar. Alternatively, you can use the Control Panel legacy interface by searching for "View network connections" in the Start menu. Once in the Advanced network settings page, look for the section labeled More network adapter options. Clicking this link opens the classic Network Connections window, which displays all active adapters such as Wi-Fi, Ethernet, and Virtual adapters. Identify the adapter currently providing your internet connection. It will typically be labeled with the name of your Wi-Fi network or "Ethernet." Right-click this adapter and select Properties from the context menu. Do not select "Disable" or "Uninstall," as these actions will break connectivity.

Identifying the Correct Protocol

In the Properties window, you will see a list of items installed for this network adapter. Scroll down until you find Internet Protocol Version 4 (TCP/IPv4). Ensure that the checkbox next to it is checked. If it is unchecked, the system cannot route traffic using IPv4, which is still the dominant protocol for most networks. Select this item and click the Properties button below the list. This opens the specific configuration dialog where DNS settings reside.

Configuring Manual DNS Settings

Inside the IPv4 Properties window, you will see two radio buttons at the top: Obtain an IP address automatically and Use the following IP address, followed by similar options for DNS. To keep DHCP enabled for IP addressing, ensure that Obtain an IP address automatically remains selected. Changing this to manual will force a static IP setup, which is not the goal here. Scroll down to the DNS Server Assignment section. By default, Obtain DNS server address automatically is selected. To disable automatic DNS, click the radio button for Use the following DNS server addresses. This action activates the input fields below it. You now have two choices depending on your objective. If you want to use specific public DNS servers like Google (8.8.8.8) or Cloudflare (1.1.1.1), enter those values in the Preferred and Alternate fields. If your goal is to effectively disable DNS resolution entirely (for example, to test local-only connectivity or block external name resolution), you can leave both the Preferred and Alternate DNS fields empty. Leaving them blank tells Windows to attempt no DNS queries, effectively breaking external name resolution while keeping the network stack active. After entering your desired configuration, click OK to save the IPv4 settings. Then click OK again on the Adapter Properties window. Windows may take a few seconds to reconfigure the network stack. You do not need to restart your computer for these changes to take effect immediately.

Verifying the Configuration

To confirm that automatic DNS has been disabled, open the Command Prompt as a standard user. Type ipconfig /all and press Enter. Look for the section corresponding to your active adapter. Under DNS Servers, you should see either the custom IPs you entered or nothing at all if you left them blank. Additionally, check the DHCP Enabled line; it should read Yes. If it reads No, you accidentally switched the IP assignment to manual in the previous step. If you encounter issues where the settings revert back to automatic, check for Group Policy restrictions or third-party network management software that might enforce DNS configurations. In some enterprise environments, domain controllers push DNS settings via Group Policy Objects (GPO). Local manual overrides are often temporary and will be replaced upon the next policy refresh cycle. For home users, this behavior is rare unless specific registry tweaks or third-party security suites are interfering. For related troubleshooting on DNS persistence issues, you may find the article on DNS Settings Automatically Changing to Manual on Windows 11 22H2 helpful if your settings refuse to stick. Additionally, if you are dealing with search domain complications after changing DNS, refer to How to Disable Windows DNS Search Domain and Set to ..

Troubleshooting Connectivity Issues

Sometimes, disabling automatic DNS can lead to confusion if applications fail to resolve hostnames. If you have entered custom DNS servers and internet browsing fails, verify that the DNS servers are reachable. Use the ping command to test connectivity to the DNS IP, not a website URL. For example, ping 8.8.8.8 should return replies. If it does, but ping google.com fails, the issue is likely with the DNS response itself, not network reachability. Clearing the local DNS cache can also help apply new settings faster. Run ipconfig /flushdns in the Command Prompt. This removes stale entries that might be cached from before the change. Note that flushing the DNS does not change your configuration; it only clears the resolver cache. If you are using IPv6 alongside IPv4, remember that the steps above only affect IPv4. You must repeat the process for Internet Protocol Version 6 (TCP/IPv6) if you wish to disable automatic DNS for IPv6 traffic as well. Many modern networks rely heavily on IPv6, so ignoring it might result in partial connectivity loss.

Alternative Methods via PowerShell

For advanced users or automation purposes, PowerShell provides commands to achieve the same result without navigating the GUI. Open PowerShell and run Get-NetIPConfiguration to identify the interface index of your network adapter. Then, use Set-DnsClientServerAddress to specify the servers. For example: Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses ("8.8.8.8", "1.1.1.1"). Replace the index and addresses with your actual values. This method is scriptable and useful for deploying configurations across multiple machines. However, the GUI method remains the most reliable for most users because it provides visual confirmation of each step and reduces the risk of syntax errors in commands. Always prefer the GUI unless you have a specific need for automation or remote management capabilities.

Frequently Asked Questions

Will disabling automatic DNS disconnect me from the internet?

No, it will not disconnect you from the network layer. Your device will still have an IP address and can communicate with other devices on the local network. However, you will not be able to resolve domain names (like www.google.com) unless you provide valid DNS server addresses. If you leave the DNS fields blank, web browsing will fail, but local file sharing may still work.

How do I revert to automatic DNS if something goes wrong?

Return to the IPv4 Properties window in your network adapter settings. Simply click the radio button for Obtain DNS server address automatically and click OK. Windows will then request DNS information from your DHCP server (usually your router) again. This process is instantaneous and requires no reboot.

Does this setting apply to all network adapters?

No, DNS settings are configured per adapter. You must repeat these steps for every network interface you use, such as Wi-Fi and Ethernet. If you switch between Wi-Fi and Ethernet frequently, you will need to configure both separately to ensure consistent behavior regardless of which connection is active.

Can I set a DNS server that is not on the internet?

Yes, you can specify any IP address as a DNS server, including internal corporate DNS servers or local caching proxies. As long as the device hosting that DNS service is reachable via your network and responds to DNS queries, Windows will use it. This is common in enterprise environments where internal resources are resolved via private DNS.

Why do my DNS settings keep changing back to automatic?

This usually happens due to Group Policy updates in domain-joined computers, router DHCP lease renewals, or interference from network management software. If you are on a home network, check for third-party antivirus or firewall tools that might enforce their own DNS settings. In enterprise environments, local changes are often overwritten by GPOs, requiring administrative intervention to modify the policy source.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More