Windows Server DNS server doesn't match queries' networks with sent responses

Vita 76 Reputation points
2021-10-25T22:42:09.503+00:00

I have three domain controllers. They all are in their own subnet. One of the three however, is also the DHCP server** and instead of using a DHCP relay it connects directly to each subnet** so that's the network with the other two domain controllers and around a dozen more.

In DHCP though, the specified server addresses are those in the DC subnet so for the most part clients cross subnets to query DNS and it all works.

The problem comes when a client queries the A records for the multi-homed domain controller itself: the domain controller responds with any of its addresses instead of evaluating the client's address and responding with the interface address it has on that subnet. It's a problem because it means that I must add an unneeded gateway on each interface further complicating firewall rules.

On top of that, in the DNS chatter among domain controller I often see traffic from the multi-homed DC traversing subnets to reach the other DCs instead of using the directly attached interface on the DC network. Why!?

Why is it not self-aware? How can I make it so? Other DNS servers aren't this dumb which and Windows Server (I recently updated to 2022) is supposed to be location-aware. I realize this are policies that have to be configured but that's for public networks, isn't it? BIND, for instance, does this automatically for directly attached networks--or even statically routed, so, I assume I must've overlooked some setting.

I appreciate your advice on this. I can't use a the DHCP relay on the interVLAN router because it had been crashing, I have a switches with relays too but they automatically route they require complex rules so they don't route the traffic (creating routing loops) that I haven't had the time to learn/create.

Thanks!


**: (for all subnets where one is required)

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
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2021-10-26T00:01:01.013+00:00

    A records for the multi-homed domain controller itself

    Multi-homing domain controllers will always cause no end to grief for active directory DNS. Better option is to use a layer three switch to handle routing between the networks.

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

    1 person found this answer helpful.

  2. Limitless Technology 39,351 Reputation points
    2021-10-28T08:24:27.123+00:00

    Hi there,

    Try these steps and see if they are helpful

    Run ipconfig /all at a command prompt, and verify the IP address, subnet mask, and default gateway.

    Check whether the DNS server is authoritative for the name that is being looked up.

    Flush the resolver cache. To do this, run the following command in an administrative Command Prompt window:

    dnscmd /clearcache

    Additional steps are listed here https://learn.microsoft.com/en-us/windows-server/networking/dns/troubleshoot/troubleshoot-dns-server

    --------------------------------------------------------------------------------------------------------------------------------------------------------

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

    0 comments No comments