]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc/net: nitpicks and system-kresd.slice restart
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 18 Apr 2019 16:09:59 +0000 (18:09 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 18 Apr 2019 16:11:42 +0000 (18:11 +0200)
daemon/bindings/net.rst
systemd/kresd.systemd.7.in

index f9920bf23ef1684a72576c1d55117b808fad05f2..1109ed114774743ff1dbd0664530e391ff9d55bd 100644 (file)
@@ -4,11 +4,11 @@ Network configuration
 ^^^^^^^^^^^^^^^^^^^^^
 
 Modern Linux distributions use so-called *Systemd socket activation*, which
-effectivelly means that IP addresses and ports to listen on are configured
+effectively means that IP addresses and ports to listen on are configured
 in Systemd configuration files.
 
 Older Linux systems and all non-Linux systems do not support this modern method
-and have to resort to old fashioned way of configuring things using
+and have to resort to old fashioned way of configuring network interfaces using
 ``net.listen()`` configuration call.
 Most notable examples of such systems are CentOS 7 and macOS.
 
@@ -31,7 +31,7 @@ Each protocol has its own configuration file:
   ":ref:`mod-http-doh`","``kresd-doh.socket``"
   ":ref:`Web management <mod-http-built-in-services>`","``kresd-webmgmt.socket``"
 
-To configure kresd to listen on public a interface using the original DNS protocol,
+To configure kresd to listen on a public interface using the original DNS protocol,
 create a drop-in file:
 
 .. code-block:: bash
@@ -46,6 +46,10 @@ create a drop-in file:
    ListenDatagram=192.0.2.115:53
    ListenStream=192.0.2.115:53
 
+.. note:: If you change network interfaces of systemd sockets for already running
+   kresd instance, make sure to call ``systemctl restart system-kresd.slice`` for
+   these changes to take effect.
+
 Configuration you provide is automatically merged with defaults from your
 distribution. It is also possible to check resulting configuration using
 ``systemctl cat``:
index 9dc49dd1e5b3de5b7f8a8bde5f551056154cba08..32b28d271eb77495a41cac239aacc97aec7a32fd 100644 (file)
@@ -62,6 +62,10 @@ To configure \fBkresd\fR to listen on public interfaces, drop-in files (see
 .RE
 .fi
 
+If you change network interfaces of systemd sockets for already running kresd instance,
+make sure to call \fBsystemctl restart system-kresd.slice\fR for these changes
+to take effect.
+
 For example, to configure \fBkresd\fR to listen on 192.0.2.115 on ports 53 and
 853, the drop-in files would look like: