Windows 10 keeps changing *static* DNS entries specified in Wifi adapter

Brian Easton 21 Reputation points
2021-08-27T01:53:14.533+00:00

I am to the point of ditching windows once and for all for Linux if this is a friggin "feature" and NOT A BUG.

Scenario: I have my DNS servers specified for both wifi as well as ethernet. Ethernet gives me NO ISSUES. But yet if I restart my computer or simply switch from ethernet to wifi, the WIFI DNS SERVERS are reset TO 10...* (insert #s here.)

My LAN is completely 192.168.....SO PLEASE tell me why it is 1) changing them to 10. addresses when there is no such 10.* network, and 2) Why is it doing this?

This is easily replicated by 1) plugging in the ethernet cable then 2) unplugging the ethernet cable

TIA for ANY FEEDBACK!

PS: Obviously, I have DHCP turned off in regards to registering the DNS servers.

126945-wifi-stuff.jpg

126946-wifi-stuff-2.jpg

126907-wifi-stuff-3.jpg

Any insight would be greatly appreciated!!!!

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,385 questions
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 39,811 Reputation points
    2021-08-27T12:54:48.753+00:00

    Hi there,

    This is not a feature but a Bug in Windows , the work around would be like setting the desired DNS servers on the DHCP server.

    You can also try this

    Flushing the DNS. Follow these steps below.

    1. From Start screen, type Command Prompt.
    2. Right-click on Command Prompt and choose Run as Administrator.
    3. Type: ipconfig /flushdns and press Enter.

    I would also recommend you to change the Preferred DNS server and check if it helps.

    Press Windows + R keys to open Run window, type
    ncpa.cpl and press Enter.
    Right-click on the connection that you use for the local connection, and then click
    Properties.
    Click to select Internet Protocol Version 4 (TCP/IPv4), and then click
    Properties.
    In the Internet Protocol window, let's change the Preferred DNS server to
    208.67.222.222
    Click OK twice to complete the modification.

    Hope this Answers all your queries , if not please do repost back .
    If an Answer is helpful, please click "Accept Answer" and upvote it : )

    1 person found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Bill Xu 31 Reputation points
    2022-10-07T00:58:18.227+00:00

    Found a solution by editing the windows registry

    1. run regedit.exe from start menu
    2. locate "Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces"
    3. attention export to backup the settings before further editing
    4. under the node, there will be a parent node which has some children and a string property named "ProfileNameServer"
    5. clear "ProfileNameServer" in parent node and all its children to remove default wifi dns settings
    6. also clear "NameServer" in parent node and all its children to let windows retrieve dns settings from dhcp server again
    7. restart windows, the settings will be in effect
    6 people found this answer helpful.

  2. Anonymous
    2021-08-27T01:55:49.67+00:00

    Simplest solution may be to set the desired DNS servers on the DHCP server.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

  3. Brian Easton 21 Reputation points
    2021-08-27T18:22:02.52+00:00

    Great! Thanks, will work on this tonight and post an update.....

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.