Static DNS Server Address Returning

create share 646 Reputation points
2022-04-27T11:57:12.017+00:00

Hi,

One of my domain connected windows 11 pcs is always returning the static DNS server address whenever I change the wifi connection. I configured the DNS server address manually before but then removed it.

Is it a bug in Windows 11?

Thanks.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,844 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,021 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,150 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Hendrik Röder 26 Reputation points
    2022-04-28T06:51:52.02+00:00

    Hi,

    I noticed that today to. After setting a static DNS Server on adapter level, the address seems to be replicated to the Key "ProfileNameServer" in the list of the interfaces in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces" in the registry.

    When switching back to DHCP, these values are still present. IMHO this seems to be a bug. After deleting those values and rebooting, the correct DHCP-given DNS server was used.

    5 people found this answer helpful.
    0 comments No comments

  2. Dave Patrick 426.1K Reputation points MVP
    2022-04-27T12:48:20.35+00:00

    What happens if you ipconfig /registerdns

    0 comments No comments

  3. Limitless Technology 39,351 Reputation points
    2022-04-28T08:57:56.283+00:00

    Hello

    Thank you for your question and reaching out.

    If the client computer is using a static IP address, follow these steps on the client computer to remove the record from the DNS server:

    Clear the Register this connection's addresses in DNS check box.

    Trigger the registration of the DNS record. To do this, use one of the following steps, which are listed in the order of preference:

    Restart the DNS Client service.

    Restart the Windows-based computer.

    Open a Command Prompt window as administrator, and then run the ipconfig /registerdns command.


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  4. create share 646 Reputation points
    2022-04-28T12:37:52.123+00:00

    To resolve the problem temporarily, I removed the DNS Server address manually for every wifi connection the user was connecting to. I will follow the above steps when the user is available again.

    Thanks to All.

    0 comments No comments

  5. Dave Patrick 426.1K Reputation points MVP
    2022-04-28T13:29:10.73+00:00

    configured the DNS server address manually before but then removed it.

    The client cannot update records it does not own (manually created records). Client needs to be the owner of the record in order to update it which is what happens when the DNS client creates a record or you did ipconfig /registerdns from client.

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