NetworkManager incorrectly uses resolved' route-only DNS setting, resulting in dns resolution only working for domains in 'search'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
systemd (Ubuntu) |
Invalid
|
Critical
|
Unassigned |
Bug Description
After reboot, dns was broken.
This is a very simple Network Manager managed interface that has dhcp.
$ nmcli device show enp0s25 | pastebinit
http://
I've attached systemd-resolve --status output.
In order to file the bug I just modified /etc/resolv.conf to put the dns server in directly.
Other information, it seems like it just will only look for dns under my search domains from the dhcp server:
$ systemd-resolve home.mosers.us
home.mosers.us: 23.28.108.176
-- Information acquired via protocol DNS in 1.5ms.
-- Data is authenticated: no
$ systemd-resolve google.com
google.com: resolve call failed: No appropriate name servers or networks for name found
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: systemd 237-3ubuntu3
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 26 09:35:32 2018
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (949 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.vendor: Intel Corporation
description: | updated |
Changed in systemd (Ubuntu): | |
importance: | Undecided → Critical |
Changed in network-manager (Ubuntu): | |
status: | New → Fix Committed |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → Critical |
I had hoped that simply disconnect/ reconnect of the interface would work, but that did not improve things. (nmcli device disconnect enp0s25 ; nmcli device connect enp0s25)