I can add DNS servers to resolv.conf and that works fine.
But is it possible for me to call a different DNS server based on the domain trying to be resolved?
use 10.0.0.1 for everything except use 10.0.0.2 for "mycompany.net"
Edit: adding more detail.
I am trying to VPN into my company's server. Everything almost works great following this guide: http://www.cyberciti.biz/tips/howto-configure-ubuntu-fedora-linux-pptp-client.html
DNS resolution doesn't work for me. The article suggests modifying
resolv.conf with the DNS servers.
When I have the first nameserver in the list as my own router, resolution of names on the VPN doesn't work. When I have the first nameserver as my company's router, resolution of names on the Internet doesn't work.