DNS servers are provided by dhclient via NetworkManager, and
NetworkManager is responsible for starting dnsmasq and giving it the DNS
information. The fact that 127.0.0.1 is the only thing in
/etc/resolv.conf is indicative that dnsmasq should be taking over DNS
resolution.
Can you please attach /run/nm-dns-dnsmasq.conf to this bug report, and
verify that dnsmasq is indeed running when you notice this issue?
** Changed in: network-manager (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/964288
Title:
Network manager not always finding DNS servers
Status in “network-manager” package in Ubuntu:
Incomplete
Bug description:
On occasion, network manager doesn't find/assign a DNS server. This is
with an up-to-date Precise install, and on this occasion when ISO
testing.
I doubt that it has to do with hardware, because it's happened on two
completely different machines (Asus EeePC 900 with Atheros L2 chip
and a desktop machine with r8169).
When this happens, the computer is assigned an IP number, an internet
connection exists and I can ping various websites plus my router by
using the IP number. Website names of course don't get resolved.
The problem is solved (in the short term) by entering "sudo dhclient"
in a terminal.
~$ sudo dhclient
RTNETLINK answers: File exists
Before issuing this command, /etc/resolv.conf reads:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
search lan
After issuing the command, /etc/resolv.conf reads:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.254
nameserver 127.0.0.1
search lan
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager 0.9.3.995+git201203152001.04b2a74-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic-pae 3.2.12
Uname: Linux 3.2.0-20-generic-pae i686
ApportVersion: 1.95-0ubuntu1
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Date: Sun Mar 25 01:51:16 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386
(20120324.1)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
ProcEnviron:
LANGUAGE=en_NZ:en
TERM=xterm
PATH=(custom, no user)
LANG=en_NZ.UTF-8
SHELL=/bin/bash
RfKill:
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/964288/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp