Comment 6 for bug 90681

Revision history for this message
hq4ever (hq4ever) wrote :

Ubuntu 7.04

I'm suffering from the same effect as lefty.crupps mentions (https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/90681/comments/5)

Using NetworkManager to open PPTP tunnel from home my local DNS entries disappear.

Here how it looks like:
1. Connected to local (WiFi) network
"""
cat /etc/resolv.conf
# generated by NetworkManager, do not edit!
search lan
nameserver 192.168.1.1
"""

2. Connect to remote site PPTP using NetworkManager
"""
cat /etc/resolv.conf
# generated by NetworkManager, do not edit!
"""

3. Disconnect from remote site PPTP, local resolve.conf restored.

The optimal solution would be NM "merging" both configurations, making the "nameserver" records came from the remote site as additional (lower priority) query options. The same for "search" domain names (if at all multi selection is possible). Upon disconnection the same action in reverse order should occur.