[Bug 1685628] Re: DNS domain search no longer works
chrisisbd
chris at isbd.co.uk
Sun Jun 4 12:46:40 UTC 2017
Yes, I have this problem in xubuntu 17.04.
getent hosts <name> works with unqualified names
systemd-resolve <name> works with unqualified names
host <name> doesn't work
dig <name> doesn't work
Adding 'search <domain>' to /etc/resolv.conf fixes the problem, so as a
workaround I have added this to /etc/resolvconf/resolv.conf.d/head.
--
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/1685628
Title:
DNS domain search no longer works
Status in systemd package in Ubuntu:
Confirmed
Bug description:
$ lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04
$ apt-cache policy systemd
systemd:
Installed: 232-21ubuntu3
Candidate: 232-21ubuntu3
Version table:
*** 232-21ubuntu3 500
500 http://gb.archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages
100 /var/lib/dpkg/status
232-21ubuntu2 500
500 http://gb.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
In network connections, I have manual IPv4 configuration as follows:
DNS servers 172.17.207.1,172.17.207.18
Search domains: anjou.terraraq.org.uk
This seems to be reflect in systemd's configuration:
$ systemd-resolve --status
Global
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test
Link 2 (eth0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 172.17.207.1
172.17.207.18
DNS Domain: anjou.terraraq.org.uk
$ cat /etc/resolv.conf
# 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
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.53
However, lookups no longer honor the search domain:
$ ping araminta
ping: araminta: Name or service not known
$ host araminta
Host araminta not found: 2(SERVFAIL)
$ ping -c1 araminta.anjou.terraraq.org.uk
PING araminta.anjou.terraraq.org.uk (172.17.207.18) 56(84) bytes of data.
64 bytes from araminta.anjou.terraraq.org.uk (172.17.207.18): icmp_seq=1 ttl=64 time=0.201 ms
--- araminta.anjou.terraraq.org.uk ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.201/0.201/0.201/0.000 ms
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1685628/+subscriptions
More information about the foundations-bugs
mailing list