Windows 11 - DNS issue

Yann Dublanche 116 Reputation points
2021-10-24T20:57:03.95+00:00

Hello

I am currently testing the compatibility of our organization with Windows 11 and I am facing a strange behavior. The DNS service is not working well with Windows 11.

On Windows 10 there is no issue and all the IP addresses are resolved correctly from our DNS, but on Windows 11, the DNS results are strange:

  • If the request belongs to our main domain, nslookup provides the correct internal IP address
  • If the request belongs to an internal domain only, nslookup provides the correct internal IP address
  • If the request belongs to any other domain, nslookup provides the public IP address instead of the internal IP address

This is only happening from the internal network. If I connect by VPN, using the same DNS servers, then the result is correct in every case.

Has anybody experienced the same issue? Is this a problem of the Windows 11 desktop, the DNS server...?

Thanks in advance

Best regards

Yann

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,044 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,283 questions
{count} votes

Accepted answer
  1. Yann Dublanche 116 Reputation points
    2021-10-28T16:17:06.307+00:00

    Dear all

    I have found a solution that solve my issue but generate a bigger concern.
    I have just tried to configure manually the network connection of the laptop, using exactly the same IP address, mask, gateway and dns server that I was getting before from the DHCP server. And it works! Like this the DNS is correctly providing the internal IP address instead of the external one.

    If I then configure back the network through DHCP, it fails again.

    It looks like if the DHCP server is giving more information than just the IP configuration.

    Has anybody experienced this kind of issue?

    Thanks in advance

    Best regards

    Yann

    1 person found this answer helpful.

13 additional answers

Sort by: Most helpful
  1. Yann Dublanche 116 Reputation points
    2021-10-25T14:35:05.483+00:00

    The issue is that it is perfectly working for all the computers and my laptop just started this strange behavior after the upgrade to Windows 11.

    0 comments No comments

  2. Anonymous
    2021-10-25T14:39:09.857+00:00

    Regardless, it is an age old very well known issue when the internal domain name is the same as public domain.

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


  3. Limitless Technology 39,746 Reputation points
    2021-10-25T20:06:49.693+00:00

    Hello @Yann Dublanche

    This may have a very simple solution:

    A) verify that both Primary and Secondary DNS are set to Domain DNS servers
    B) Flush DNS records and re-register the computer:
    from CMD as admin:

    ipconfig /flushdns
    ipconfig /registerdns

    Run a "ipconfig /displaydns" to ensure that the proper resolvers are configured.

    Hope this helps with your query,

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


  4. Jason 0 Reputation points
    2023-03-31T08:33:14.7766667+00:00

    I am experiencing the same issue on Windows 11.

    When i am in the office my device gets ip address, subnet and dns servers from DHCP and all works ok.

    When i leave the office and connect at home, my device gets the ip address and subnet ok but DNS doesnt update.

    If i do an IPCONFIG i can see the DNS servers set as the ones from when i was in the office, even though it is set to get it from DHCP.

    The only way to get it to get the DNS from DHCP is to uninstall the NIC driver and reinstall but this occurs every time. I never experienced the same issue on Windows 10.


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.