.. code-block:: bash
- systemctl edit kresd@.service
+ systemctl edit knot-resolver.service
And insert these lines:
net.listen('203.0.113.53', 53, { kind = 'xdp' })
net.listen('203.0.113.53', 53, { kind = 'dns' })
-The default selection of queues is tailored for the usual naming convention:
-``kresd@1.service``, ``kresd@2.service``, ...
+The default selection of queues is tailored for the usual conventions,
but you can still specify them explicitly, e.g. the default is effectively the same as:
.. code-block:: lua
********************************
To read service logs use commands usual for your distribution.
-E.g. on distributions using systemd-journald use command ``journalctl -u kresd@* -f``.
+E.g. on distributions using systemd-journald use command ``journalctl -u knot-resolver -f``.
Knot Resolver supports 6 logging levels - ``crit``, ``err``, ``warning``,
``notice``, ``info``, ``debug``. All levels with the same meaning as is defined
Notes for packagers
-------------------
+* The supported 6.x style only has a single systemd unit: knot-resolver.service.
+ The others are legacy from older versions.
* kresd.target should be enabled by default by linking it to systemd lib/
directory. Instances of kresd@.service are then added manually to