On 18/03/2019 11.00, Vladimír Čunát wrote:
Message "moved" from [knot-dns-users] to
[knot-resolver-users]:
-------- Forwarded Message --------
Subject: [knot-dns-users] running knot-resolver with only kresd-tls.socket
Date: Sat, 16 Mar 2019 13:36:50 -0000 (UTC)
From: Daniel Lublin <daniel(a)lublin.se>
To: knot-dns-users(a)lists.nic.cz
Finally, using `systemctl mask kresd.socket` I get it
to stop listening on
(localhost) port 53. But then instead systemd find itself in "degraded"
mode...
Any tip on how to accomplish this cleanly?
`systemctl mask kresd.socket` is the correct approach. I tested this
with a clean installation of Knot Resolver 3.2.1 and the service works
as expected (it is in 'active' state, not 'degraded').
I'd suggest to remove any drop-ins to restore the service and sockets to
its pristine state, do `systemctl daemon-reload` and try masking the
kresd.socket again. If you're still able to reproduce the degraded
state, please tell us which OS distribution you use and its systemd
version to debug this further.
--
Tomas Krizek
PGP: 4A8B A48C 2AED 933B D495 C509 A1FB A5F7 EF8C 4869