[Dnsmasq-discuss] What actually happens when dnsmasq is installed on a system running systemd (with systemd-resolved)?
pemensik at redhat.com
Wed Sep 29 15:07:43 UTC 2021
I cannot answer this for Ubuntu, but on Fedora installation of dnsmasq
does not disable anything. I think systemd-resolved it the default and
is enabled on default. Whereas dnsmasq is just a service, which has to
be enabled manually. Then systemd-resolved has to be disabled manually.
Then /etc/resolv.conf has to be modified to point to local dnsmasq. It
can be configured by Network Manager also by dns=dnsmasq in
dnsmasq can run on the same system with systemd-resolved, if
bind-interfaces or bind-dynamic and interface is specified. But they
don't interact between themselves without manual configuration.
On 9/28/21 21:28, Chris Green wrote:
> I run xubuntu version 21.04 on several systems. Thus the default DNS
> cache and configuring of /etc/resolv.conf is done by systemd and its
> Does anyone here know what happens if/when I install dnsmasq? Is the
> installation process clever enough to reconfigure and/or turn off the
> right things in systemd so that dnsmasq gets to do local DNS cacheing
> and so on?
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com
More information about the Dnsmasq-discuss