Well, it's a slightly different issue, but I need some help with this.
It appears that what is happening is that when I connect it sets up the new routing tables as I defined. However, it is overwriting my local routing tables. This is causing a problem in three instances:
1) The routing tables of the remote network I'm connecting to aren't set up properly. This means I can no longer access certain locations on the internet.
2) The pptp is unexpectedly dropped. This stops my original routing tables to restore and I'm stuck with no internet resolution until I manually go and change my resolv.conf
3) I connect to more than 1 remote network at a time. In this case the last connection is the one to specify its routing tables. I then lose any routing tables that came before.
So, what can I do here? Well, it seems to me, I have two options. The first I know how to do, the second I don't (and is my preferred method).
A. I can set all remote DNS servers up in my resolv.conf with my local being first. Then in my pptp config I can drop the setting of new DNS servers on connection. While a good method, it means I have a lot of garbage psuedo-DNS servers when I'm not remotely connected. I also don't know if secondary or tertiary DNS servers will do name resolution if the primary says it doesn't exist (e.g. Do DNS servers do a check-if-name-doesn't-exist *or* a check-if-dns-is-unavailble method for moving to the secondary/tertiary/etc. server)
B. I would like to *APPEND* the DNS entries instead of doing a full replace. This is my prefered method, but I don't actually know how to do this. I will do option A for now, but if anyone knows of a way to do this, plz let me know.
P.S. djuhl30, the original post is pretty old (but I'm still learning this stuff myself and so things get put on the back-burner a lot), you might want to try editing your resolv.conf with the suggestion A (if it works as mentioned above). Set your pptp to not define a new DNS server. This will mean that your local DNS always takes priority with your secondary or tertiary (on the remote network) picking up the slack when it can't find the name. I don't know if this will actually work or not.