Using the chosen answer in this superuser article I've setup my mac to only send VPN traffic through the VPN. This allows me to use my office internet connection directly and not direct everything through the VPN connection.
So anything looking for an IP on 192.168.x.x is routed to the VPN. Anything else is sent to the normal internet connection.
However, the downside is that I can't use the DNS server they use for the VPN, so I have to maintain a hosts file entry for
example.mycompany.com. The network admin will no longer be sharing what the IPs are, and is requiring that I use the DNS server.
How can I instruct my system to use a different DNS server if the domain name matches a pattern?
OS X Mavericks