Hi there,

I have setup my VPN client with proper routing so that my default route remains the internet, and only the addresses in my company internal network are routed through the VPN.
This is working correctly, but however, I didn't find a way to do the same with DNS queries.
I would like to have a default DNS server, but all queries to *.mycompany.com and *.mycompanycorp.com and a few other domains should be directed to the DNS server provided by the VPN.

Is there a way to do that? It's probably possible using bind but I'm not familiar with it. (I didn't find a way to do it with dnsmasq, dnscache or resolvconf.)

Thanks