Local servers not reachable as NetworkManager adds spurious nameserver 127.0.1.1 to resolv.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Since upgrade to 17.04/17.10 I cannot reach any server within my university domain over LAN:
From within the university network:
ping webmail.wur.nl
ping: webmail.wur.nl: Name or service not known
From outside:
ping webmail.wur.nl
PING webmail.wur.nl (137.224.252.102) 56(84) bytes of data.
This is caused by the entry of the local host as nameserver in resolf.conf as "nameserver 127.0.1.1".
When this line is manually removed the server is reached. However, NetworkManager persistently restores the line to /etc/resolf.conf. This can be avoided by stopping NetworkManager, adding dns=none to the [main] section to /etc/NetworkMan
NetworkManager should not add the line nameserver 127.0.1.1 to resolv.conf on default, as this almost surely causes problems.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: network-manager 1.8.4-1ubuntu3.1
ProcVersionSign
Uname: Linux 4.13.0-29-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Jan 30 15:18:38 2018
InstallationDate: Installed on 2015-11-05 (817 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
IpRoute:
default via 10.75.15.254 dev eth0 proto static metric 100
10.75.0.0/20 dev eth0 proto kernel scope link src 10.75.0.58 metric 100
169.254.0.0/16 dev eth0 scope link metric 1000
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to artful on 2018-01-16 (14 days ago)
mtime.conffile.
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
eth0 ethernet connected /org/freedeskto
wlan0 wifi unavailable /org/freedeskto
lo loopback unmanaged /org/freedeskto
nmcli-nm:
RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
running 1.8.4 connected started full enabled enabled disabled enabled enabled
tags: | added: bot-stop-nagging |