Score:1

systemd-resolve and dnsmasq on a server

gb flag

i have the following issue on a server where i have dnsmasq installed:

$ systemd-resolve --status
Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.

and that leads to some issues (e.g. clamav-freshclam is unable to refresh the virus definition files).

i can fix that manualy by

$ sudo systemctl restart systemd-resolve

now everything seems fine.

systemd-resolve is enabled and should start on boot. but it does not.

i tried to set DNSStubListener=no in /etc/systemd/resolved.conf as described over at unix.stackexchange. but that did not help either.

there seems to be no conflict running both of them - it works when i start systemd-resolve manually.

how can i have a running dnsmasq and have systemd-resolve enabled at boot?

waltinator avatar
it flag
Read `man systemd-dnsmasq systemd`. Trying to use standalone `dnsmasq` in a `systemd` system will require you to learn way too much about `systemd`.
hiro protagonist avatar
gb flag
hmm. `man systemd-dnsmasq` does not exist. and in `man systemd` there is no mention of `dnsmasq`. Most resources on the internet suggest do disable `systemd-resolved.service`. i found nothing on `systemd-dnsmasq`. could you point me to a resource that describes what you mean?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.