commit e8d2d8026635e98bbd2682b2e3692e328019c648
parent e28243a5847d039cbe69b22c3bd90f526bd1e4ab
Author: Denis Kenzior <denkenz@gmail.com>
Date: Wed, 24 Aug 2022 11:03:40 -0500
netconfig: Fix documentation of MulticastDNS setting
Documentation for MulticastDNS setting suggests it should be part of the
main iwd configuration file. See man iwd.config. However, in reality
the setting was being pulled from the network provisioning file instead.
The latter actually makes more sense since systemd-resolved has its own
set of global defaults. Fix the documentation to reflect the actual
implementation.
Diffstat:
2 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/src/iwd.config.rst b/src/iwd.config.rst
@@ -247,15 +247,6 @@ The group ``[Network]`` contains network configuration related settings.
If not specified, ``300`` is used as default.
- * - MulticastDNS
- - Values: true, false, resolve
-
- Configures multicast DNS on each interface. If not specified,
- systemd-resolved's default value will remain untouched.
- See ``man 5 systemd.network`` for details.
-
- Only applies when ``NameResolvingService=systemd``.
-
Blacklist
---------
diff --git a/src/iwd.network.rst b/src/iwd.network.rst
@@ -316,6 +316,25 @@ connect to that network.
Network Configuration Settings
------------------------------
+The group ``[Network]`` contains general network settings and any network
+specific overrides for global defaults defined in the main iwd configuration
+file.
+
+.. list-table::
+ :header-rows: 0
+ :stub-columns: 0
+ :widths: 20 80
+ :align: left
+
+ * - MulticastDNS
+ - Values: true, false, resolve
+
+ Configures multicast DNS for this network. If not specified,
+ systemd-resolved's default value will remain untouched.
+ See ``man 5 systemd.network`` for details.
+
+ Only applies when ``NameResolvingService=systemd``.
+
The group ``[IPv4]`` contains settings for Internet Protocol version 4 (IPv4)
network configuration with the static addresses.