I have a machine with 2 interfaces. One interface (eth1) connects to inside a lab, with a IP address of 172.30.174.70/16. The DNS server is on 172.30.42.1, the domain is 'netlab'. This lab does not have internet connectivity.
Then, there's the other network connected on a 10.230.0.0/16 network, with DNS server at 10.230.24.1 with working internet.
How do I set up the PC so that DNS queries for .netlab goes to the 172.30.42.1 PC, while everything else goes to 10.230.24.1?
If I make the 172 DNS server my primary DNS server, queries to the outside world will time out (since it only knows about 'netlab'). If I make the 10.230 DNS server my primary, queries to the "foo.netlab" domain times out.
Is what I am requesting possible?