Add-DnsServerPrimaryZone `
-Name "subnet.net" `
-ReplicationScope "Domain"

Add-DnsServerClientSubnet `
-Name subnet-A `
-IPv4Subnet "10.10.10.0/24"

Add-DnsServerClientSubnet `
-Name subnet-B `
-IPv4Subnet "192.168.108.0/24"

Add-DnsServerZoneScope `
-ZoneName "subnet.net" `
-Name "etendue-A"

Add-DnsServerZoneScope `
-ZoneName "subnet.net" `
-Name "etendue-B"

Add-DnsServerResourceRecord `
-ZoneName "subnet.net" `
-A `
-Name "appserver" `
-IPv4Address "10.10.10.71" `
-ZoneScope "etendue-A"

Add-DnsServerResourceRecord `
-ZoneName "subnet.net" `
-A `
-Name "appserver" `
-IPv4Address "192.168.108.71" `
-ZoneScope "etendue-B"

Add-DnsServerQueryResolutionPolicy `
-Name "Strat-SubnetA" `
-Action ALLOW `
-ClientSubnet "EQ,subnet-A" `
-ZoneName "subnet.net" `
-ZoneScope "etendue-A,1"

Add-DnsServerQueryResolutionPolicy `
-Name "Strat-SubnetB" `
-Action ALLOW `
-ClientSubnet "EQ,subnet-B" `
-ZoneName "subnet.net" `
-ZoneScope "etendue-B,1"

get-DnsServerQueryResolutionPolicy -ZoneName "subnet.net" | fl