[Bug 1751797] Re: dns resolution only works for domains in 'search'.
Scott Moser
ssmoser2+ubuntu at gmail.com
Thu Mar 15 13:26:21 UTC 2018
$ systemd-resolve --status enp0s25
Link 2 (enp0s25)
Current Scopes: DNS
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 10.7.0.1
fdfd:dddd:dddd::1
DNS Domain: ~mydomain.com
$ cat /var/lib/NetworkManager/dhclient-72c7fac3-c017-4b76-9954-b4fb08262376-enp0s25.lease
lease {
interface "enp0s25";
fixed-address 10.7.2.103;
filename "pxelinux.0";
option subnet-mask 255.255.0.0;
option dhcp-lease-time 43200;
option routers 10.7.0.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.7.0.1;
option domain-name-servers 10.7.0.1;
option dhcp-renewal-time 21600;
option dhcp-rebinding-time 37800;
option broadcast-address 10.7.255.255;
option host-name "milhouse-eth0";
option domain-name "mydomain.com";
renew 4 2018/03/15 18:51:36;
rebind 4 2018/03/15 23:41:37;
expire 5 2018/03/16 01:11:37;
}
lease {
interface "enp0s25";
fixed-address 10.7.2.103;
filename "pxelinux.0";
option subnet-mask 255.255.0.0;
option routers 10.7.0.1;
option dhcp-lease-time 43200;
option dhcp-message-type 5;
option domain-name-servers 10.7.0.1;
option dhcp-server-identifier 10.7.0.1;
option dhcp-renewal-time 21600;
option broadcast-address 10.7.255.255;
option dhcp-rebinding-time 37800;
option host-name "milhouse-eth0";
option domain-name "mydomain.com";
renew 4 2018/03/15 18:19:57;
rebind 4 2018/03/15 23:48:56;
expire 5 2018/03/16 01:18:56;
}
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1751797
Title:
dns resolution only works for domains in 'search'.
Status in network-manager package in Ubuntu:
New
Status in systemd package in Ubuntu:
Confirmed
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://paste.ubuntu.com/p/sMVTdrMBxJ/
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
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
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-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-32-generic root=UUID=f897b32a-eacf-4191-9717-844918947069 ro quiet splash vt.handoff=1
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.vendor: Intel Corporation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1751797/+subscriptions
More information about the foundations-bugs
mailing list