NM DSL connection: DNS server addresses not added to resolv.conf

Bug #1042233 reported by Uqbar
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

How to trigger (I used KDE widget)

1. Select Network Manager Settings
2. Select DSL tab
3. Select "Add ... +" button
4. Select "System connection"
5. Select IPv4 address
6. Select method: Automatic (address only)
7. In DNS servers add your own DNS server (I used 8.8.8.8; 8.8.4.4)
8. Click on OK
9. From a terminal, as root, type: "sudo vi /etc/NetworkManager/system-connections/New\ DSL\ connection \ connection" (or whater is in your language).
10. Check in the IPv4 stanza that the configuration is the same as above
11. Enable the DSL conection from the widget.
12. From a terminal type " cat /etc/resolv.conf" and see that the DNSs are not the ones specified in step #7.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager 0.9.4.0-0ubuntu4.1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CRDA: Error: [Errno 2] File o directory non esistente
Date: Mon Aug 27 15:21:36 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120424)
IpRoute:
 default via 151.6.169.72 dev ppp0 proto static
 151.6.169.72 dev ppp0 proto kernel scope link src 151.75.205.26
 169.254.0.0/16 dev ppp0 scope link metric 1000
IwConfig:
 ppp0 no wireless extensions.

 lo no wireless extensions.

 eth0 no wireless extensions.
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
RfKill:

SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2012-07-09T21:19:25.556916
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 Nuova connessione DSL beffe487-f324-4584-8160-5574dcd541ba pppoe 1346073509 lun 27 ago 2012 15:18:29 CEST yes no /org/freedesktop/NetworkManager/Settings/1
 Wired Default d1a1bd2d-e077-4b4f-aafd-fffe09d19f86 802-3-ethernet 1346010011 dom 26 ago 2012 21:40:11 CEST yes no /org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 eth0 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.4.0 connected enabled enabled enabled enabled disabled

Revision history for this message
Uqbar (uqbar) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Thomas Hood (jdthood)
summary: - PPPOE connection won't honor user specified DNS servers
+ NM DSL connection: DNS server addresses not added to resolv.conf
Revision history for this message
Ron (ron-atkins) wrote :

I don't think this is related to DSL. I'm on a LAN and specify a DNS server and search domain, but they are not honored. Disabling dnsmasq resolves the problem.

Revision history for this message
Thomas Hood (jdthood) wrote :

What was originally reported is expected behavior. NetworkManager starts a dnsmasq process to forward DNS queries. NM puts (via resolvconf) "nameserver 127.0.0.1" in resolv.conf and sends the upstream nameserver addresses to the dnsmasq process over D-Bus.

On the other hand, if DNS search domain names are not included in resolv.conf (as Ron just reported) then that *is* a bug.

Changed in network-manager (Ubuntu):
status: Confirmed → New
Revision history for this message
Thomas Hood (jdthood) wrote :

Ron: You report that manually-added-in-NetworkManager DNS search domain names are not added to resolv.conf. Can you please give step-by-step instructions for reproducing this bug (as Uqbar did)? Also, please post the output of this command:

    ls -l /etc/resolv.conf

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for network-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in network-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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