[Bug 1797602] Re: systemd incompatible with openresolv and dnsmasq
Dan Streetman
1797602 at bugs.launchpad.net
Wed Jun 30 22:11:35 UTC 2021
please reopen if this is still an issue
** Changed in: systemd (Ubuntu)
Status: New => Invalid
--
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/1797602
Title:
systemd incompatible with openresolv and dnsmasq
Status in systemd package in Ubuntu:
Invalid
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1797602/+subscriptions
More information about the foundations-bugs
mailing list