Why is my DNS servers not updating when connecting to a hotspot?

Bobo DaMonkey 0 Reputation points
2024-03-13T16:45:06.1333333+00:00

This is on a Surface Pro running Windows 10. Pro The issue is, when I connect to a hotspot outside my home, the DNS servers do not update. They still show the servers from when I was connected to my home Wi-Fi. This is an issue since the first two servers my DHCP server reports are internal. For some reason, windows doesn't pick up more than the first two.

I don't have anything hard-coded. The adapter properties is set to get info from the server, basically the default settings.

I can force them to change using the netsh commands. I just don't see why they don't update when I connect to a new AP. Did a hidden flag get set somehow?

Is there a way to check logs or debug this issue?

Please don't suggest hard-coding public DNS servers. I want this to work as intended.

Thanks

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,082 questions
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,302 questions
Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
697 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,034 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,274 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Clint Johnson 0 Reputation points
    2024-05-11T01:32:21.9933333+00:00

    I am seeing similar issue with DNS not updating. I can run 'netsh winsock reset', reboot PC, and it gets my DHCP assigned servers (my local AdGuard Home DNS servers). A regular reboot doesn't usually clear them. A few days later and my DNS seems to stop updating.

    0 comments No comments