Hello Dull Pretty,
The issue is that your DNS policies are not correctly bound to the client subnet objects, so queries fall back to the default gateway records. The proper way to rebuild them is to first remove the broken policies from the zone with Remove-DnsServerQueryResolutionPolicy -Name <PolicyName> -ZoneName <ZoneName>. Then recreate the client subnet definitions using Add-DnsServerClientSubnet -Name <SubnetName> -IPv4Subnet <CIDR>. After that, ensure your zone scopes are defined with Add-DnsServerZoneScope -ZoneName <ZoneName> -Name <ScopeName> and that the intended resource records exist inside those scopes. Finally, re‑associate the subnet objects with the zone scopes by creating new policies: Add-DnsServerQueryResolutionPolicy -Name <PolicyName> -Action ALLOW -ZoneScope <ScopeName> -ClientSubnet <SubnetName>. Once rebuilt, verify with Get-DnsServerQueryResolutionPolicy and test queries from each subnet to confirm the correct IPs are returned instead of the default entries.
If my answer is useful for you, please hit Accept the answer to support me.
Thank you,
HL.