Network Manager VPN Connection blanks /etc/resolv.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-pptp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-manager
Configure a PPTP VPN Connection in Network Manager.
Choose the option Use-Peer-DNS under PPP Options tab.
Make connection to VPN server.
cat /etc/resolv.conf and notice that peer's DNS is set correctly as the nameserver entry.
Terminate VPN connection
Reconfigure VPN Connection and remove tick from Use Peer DNS option under PPP tab
Reconnect VPN.
/etc/resolv.conf is now completely blank (except for a # generated by NetworkManager, do not edit! line), rendering name resolution inactive and generally stuffing anything you might want to do on the net!
Worked correctly under Edgy - not working correctly on Feisty.
steve@fourby:~$ dpkg -l | grep -i network-manager
ii network-manager 0.6.4-6ubuntu7 network management framework daemon
ii network-
ii network-
I can confirm the same behaviour on 7.04 with network-manager version 0.6.4-6ubuntu7 and network- manager- pptp version 0.6.3+cvs200608 19-0ubuntu2.
I followed the steps described by the initial reporter and achieved the exact same result.