network manager, manually specifying DNS servers for PPPoE connection does not work

Bug #968043 reported by Silviu C.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

It seems network manager will not take into account the fact that I choose to only get my IP address from the ISP via DHCP. I selected the relevant option in the configuration panel. If I click on "connection information" it will show me as using the DNS servers I had specified but doing a "nslookup google.com" revealed that I was using my ISPs DNS.

I will attach relevant screenshot and log file.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager 0.9.3.995+git201203152001.04b2a74-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Thu Mar 29 10:48:08 2012
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RfKill:

SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2012-03-28T19:28:07.970746

Revision history for this message
Silviu C. (silviucc) wrote :
Revision history for this message
Silviu C. (silviucc) wrote :
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

When you're connected to that DSL connection, could you also attach the file /run/nm-dns-dnsmasq.conf ?

Thanks!

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Charles Peters II (cp) wrote :

Undocumented feature, disable the broken DNS caching server by commenting out the dns line.

$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
#dns=dnsmasq

[ifupdown]
managed=false

Revision history for this message
Silviu C. (silviucc) wrote :

This is the file as it currently looks. It changes content as I change dns server settings in the gnome network-manager config utility.

Revision history for this message
Silviu C. (silviucc) wrote :

cp, I commented out that line, did a sudo service network-manager restart but I still get the DNS servers from my ISP not the one I want to use.

silviu@silviu-pangolin:~$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
#dns=dnsmasq

[ifupdown]
managed=false

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Indeed, and I think this is because ppp/pptp silently update resolv.conf regardless of settings. I'm still looking into this but it seems like it may be related to bug 980579. I'm hesitant to mark it as a duplicate until I can be sure it's really the same issue, though.

Changed in network-manager (Ubuntu):
status: Incomplete → Triaged
status: Triaged → Confirmed
importance: Undecided → Medium
tags: added: nm-ppp-dns-settings
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

New tag: nm-ppp-dns-settings

I can't really mark other bugs related to this as duplicates yet, because I'm not certain enough that it's really the same issue; it's possible this may be in pptp or ppp too; so for now I'll use this to track down all the similar symptoms bugs like this one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.