Here's the scenario: Network 1 has its own DNS server, and does a great job of resolving local network names, its also set as a caching server, so it will resolve names out on the general internet. So far so simple. I addition to that I can establish a VPN link using openvpn to a remote network, which also has its own DNS server, which I can use if I change my resolve conf (by whatever means) accordingly.
I envisaged adding another nameserver line to resolv.conf would solve the problem, thinking that once it got an NXDOMAIN from the local DNS server, it might move on to the DNS at the end of the VPN and resolve the name accordingly, but alas, it does not.
So, Is there a way I can set things up so that names in both networks can be resolved?