systemd-resolved: after network reconnection, DNSSEC unsigned zones treated as bogus, stop resolving

Bug #1628778 reported by Anders Kaseorg on 2016-09-29
This bug affects 4 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)

Bug Description

On the MIT network (which runs some ancient version of BIND 9), systemd-resolved stops resolving anything that isn’t DNSSEC-signed after I disconnect and reconnect the network. Signed zones continue to resolve.

This happens with either DNSSEC=yes or the default DNSSEC=allow-downgrade.

$ systemd-resolve

-- Information acquired via protocol DNS in 15.6ms.
-- Data is authenticated: no
$ # (disconnect and reconnect wifi)
$ systemd-resolve resolve call failed: DNSSEC validation failed: no-signature

More debug information is available in my upstream report (, which has gotten no response in the last week and a half.

I’m refiling this here because I believe that this regression and others (bug 1588230, bug 1624071, bug 1624317, bug 1449001) indicate that systemd-resolved is not ready for production, and with final freeze just a week away, leaving systemd-resolved enabled for the yakkety release would be reckless. [Edit: Oh, I see that conclusion was already reached yesterday.]

Anders Kaseorg (andersk) on 2016-09-29
description: updated
tags: removed: regression-release
Martin Pitt (pitti) wrote :

Bug 1588230 and bug 1624071 are fixed now. I'm fairly sure I understand bug 1624317 (and it would be fixed in yakkety now), and bug 1449001 is not actually a malfunction but just some disagreement about a builtin fallback if no DNS servers are configured (and thus fairly irrelevant really).

This bug is relevant, of course, thanks for the report. There are still several known problems with DNSSEC, and thus the plan had been from the start to enable it during the development series and disable it shortly before the release (which has happened a few days ago). The point was to learn about bugs in practice. So 16.10 ships with disabled DNSSEC, which is no worse than the default "dns" nss plugin (i. e. libc itself).

Changed in systemd (Ubuntu):
importance: Undecided → Medium
Martin Pitt (pitti) on 2016-12-07
tags: added: dnssec resolved
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in systemd (Ubuntu):
status: New → Confirmed
Mark Haase (mehaase) wrote :

I'm having the same problem after upgrading to 17.04.

Changed in systemd:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.