Our windows server 2019 needs to respond to requests with IP addresses that are only on the interface subnets they are being quried from.
We have two DC's. Each has 3 interfaces. Each interface is its own subnet. I believe this is a split brain type set up, but with 3 interfaces instead of 2.
Right now the DC's are replying to requests with all ips for a given hostname. This is a problem when querying the actual DC's FQDN. It gives back 3 addresses. So if a host is querying from on subnet, and gets 3 addresses from the DC, it may use the wrong one.
dc01.our.domain.
int1 = 10.10.11.53/24
int2 = 10.10.12.53/24
int3 = 10.10.13.53/24
dc02.our.domain.
int1 = 10.10.11.54/24
int2 = 10.10.12.54/24
int3 = 10.10.13.54/24
If a given host (lets say 10.10.11.13) does a nslookup dc01.our.domain
, I want the DC to respond with only 10.10.11.53/24
. However, the DC is giving back all three addresses it has.
How can I fix this? Is there a way? I read about conditional forwarding, but could not figure out how it works. I also read about DNS policies, but I could not figure that out either.
How can I accomplish this?
EDIT:
I need to be clear. Currently we only have one primary zone, and one domain. Would I need to create sperate domains/zones for each subnet interface?
Also found this post which is detailing my same problem I believe
DNS setup for multihomed devices in physically separated networks