systemd-resolved does not allow you to connect using subdomains using search domains which are in /etc/resolv.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
systemd-resolved doesn't seem to allow you to use subdomains when connecting to hosts in domains that are part of /etc/resolv.conf
e.g.
16:01|scrosby@
# 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 W.X.Y.Z
nameserver A.B.C.D
nameserver 127.0.0.53
search blah1 blah2 blah3 blah4 blah5
with systemd-resolved running
16:05|scrosby@
ping: foo.bar: Name or service not known
without systemd-resolved running
16:05|scrosby@
PING foo.bar.blah3 (E.F.G.H) 56(84) bytes of data.
64 bytes from foo.bar.blah3 (E.F.G.H): icmp_seq=1 ttl=52 time=1.68 ms
64 bytes from foo.bar.blah3 (E.F.G.H): icmp_seq=2 ttl=52 time=1.09 ms
It does seem like looking up hosts without a . in their name does use the search domains in resolv.conf though
16:05|scrosby@
PING foo2.blah3 (I.J.K.L) 56(84) bytes of data.
64 bytes from foo2.blah3 (I.J.K.L): icmp_seq=1 ttl=52 time=1.34 ms
64 bytes from foo2.blah3 (I.J.K.L): icmp_seq=2 ttl=52 time=1.29 ms
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: systemd 231-9git1
ProcVersionSign
Uname: Linux 4.8.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
Date: Tue Oct 25 16:13:38 2016
InstallationDate: Installed on 2016-06-08 (139 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. OptiPlex 990
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm-
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: Upgraded to yakkety on 2016-10-24 (0 days ago)
dmi.bios.date: 08/26/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A19
dmi.board.
dmi.board.name: 0VNP2H
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 990
dmi.product.
dmi.sys.vendor: Dell Inc.
tags: | added: resolved |
Changed in systemd (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in systemd: | |
status: | Unknown → New |
Changed in systemd: | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.