systemd incompatible with openresolv and dnsmasq

Bug #1797602 reported by Bob Vincent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Problem: systemd breaks resolvconf-dependent DNS

Test case: Install dnsmasq with systemd.

Result:
  The script in /etc/dhcp/dhclient-enter-hooks.d/resolvconf defines the make_resolv_conf() function to pass DHCP information to the /sbin/resolvconf program.
  The script in /etc/dhcp/dhclient-enter-hooks.d/resolved redefines the make_resolv_conf() function to write DHCP information to /run/systemd/resolved.conf.d/isc-dhcp-v4-$interface.conf
  As a result, resolvconf never runs, and dnsmasq never receives the DHCP-supplied nameservers.
  Therefore, DNS resolution is broken.

Expected result:
  DHCP-supplied nameservers should be passed to both resolvconf and to systemd.

Workaround:
  Use the 127.0.0.53 address for the systemd resolver as the dnsmasq upstream server.

lsb_release -rd output:

Description: Ubuntu 18.04.1 LTS
Release: 18.04

Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

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

Other bug subscribers

Remote bug watches

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