Public bug reported:

Binary package hint: network-manager-pptp

Running Ubuntu Hardy with latest updates I have bumped into a problem.

My ISP provides a huge local network, from which Internet can be
accessed via PPTP VPN. There are 2 DNS servers in local network, as well
as 2 in the VPN, and the latter 2 are supposed to be Internet DNS
servers (primary and secondary).

As I connect to the local network via eth0 interface resolv.conf is
properly updated by network-manager. After connecting to the VPN (that
actually provides Internet access), resolv.conf is updated as well, but
the VPN's DNS servers are added to the end of the file. I suppose this
makes system try local DNS servers first (as they are first in
resolv.conf) and leads to huge conflicts in DNS resolving, rendering
Internet connection almost useless.

sudo resolvconf -d eth0
deletes the unneeded records from resolv.conf and thus eliminates the problem, 
but network-manager seems to update this information once in a while, and falls 
back to non-working resolv.conf.

I believe that after activating ppp0 interface, network-manager should
at least make sure that ppp0's DNS records are first in resolv.conf
(when options "Use peer's DNS" and "Peer DNS through tunnel" are
checked). Otherwise resolvconf (being run with no options) checks
interfaces in alphabetical order, thus making eth0's DNS records
superior to ppp0's.

** Affects: network-manager-pptp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
DNS problems when running PPTP VPN
https://bugs.launchpad.net/bugs/197156
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to