I use a PPTP VPN to connect to my work's environment, but don't know how to configure DNS resolution the way it seems appropriate.
When I connect via Network Manager I get two servers in
mywork.com.br as a search domain in
/etc/resolv.conf. While it allows me to resolve names in that network it also seems to redirect all DNS requests through the servers pushed by the PPTP server.
Differently, when I connect with
pon mywork no change is done to the DNS settings, but I lose the remote name resolution that I have in the first case.
So, how can I manage to keep both DNS servers working? I mean, I'd like to resolve
machine.mywork through the PPTP DNS server and everything else through my ordinary server.
pty "pptp vpn.mywork.com.br --nolaunchpppd" name email@example.com remotename mywork require-mppe-128 file /etc/ppp/options.pptp ipparam mywork nodefaultroute
I'm running 14.04 LTS. Thanks in advance and sorry for my bad english!