I have a Microsoft DNS server setup and running for my local domain (mydomain.local). I have set up a public domain since then (mydomain.com) and want all my local clients to have different A hosts for mydomain.com while they are on the local network. If they are remote I want them to get the resolutions anyone would get on the internet from the public DNS server (hosted elsewhere).
Scenario 1: Internal
client1.mydomain.local is a PC on my local network and tries to resolve test.mydomain.com. That client should get back 192.168.1.100. When the client tries to resolve test2.mydomain.com it should get back 192.168.1.101. Then last when the client tries to resolve test3.mydomain.com it should get back 8.8.3.6.
Scenario 2: External
client2 is a PC somewhere else in the world and tries to resolve test.mydomain.com. That client should get back 8.8.3.4. When the client tries to resolve test2.mydomain.com it should get back 8.8.3.5. Then last when the client tries to resolve test3.mydomain.com it should get back 8.8.3.6.
Currently I have my local DNS server (mydomain.local) setup with the new domain (mydomain.com) and only have a few select A hosts in it (test, test2 but NOT test3). My goal is to somehow forward the DNS requests to a specific DNS server that are not in my (mydomain.com) zone. At this point when I try to resolve test1.mydomain.com and test2.mydomain.com they resolve great! But when I try to resolve test3.mydomain.com it fails and does not resolve.