You are not logged in.

#1 2022-08-17 23:22:27

Registered: 2021-06-12
Posts: 1

iwd + MulticastDNS

I can't seem to get systemd-resolved mDNS working with iwd. Currently getting:

~ resolvectl
         Protocols: LLMNR=resolve mDNS=resolve +DNSOverTLS DNSSEC=no/unsupported
  resolv.conf mode: stub
Current DNS Server:
       DNS Servers:

Link 8 (wlan0)
    Current Scopes: DNS LLMNR/IPv4
         Protocols: +DefaultRoute +LLMNR -mDNS +DNSOverTLS DNSSEC=no/unsupported
Current DNS Server:
       DNS Servers:
~ resolvectl mdns
Global: resolve
Link 8 (wlan0): no
~ resolvectl query BRW441CA83882BE.local
BRW441CA83882BE.local: resolve call failed: No appropriate name servers or networks for name found

Looks like mDNS is disabled on the link.

Additional info:

~ iwctl version
NetworkConfigurationEnabled: enabled
StateDirectory: /var/lib/iwd
Version: 1.29
~ systemctl --version
systemd 251 (251.4-1-arch)





#  This file is part of systemd.
#  systemd is free software; you can redistribute it and/or modify it under the
#  terms of the GNU Lesser General Public License as published by the Free
#  Software Foundation; either version 2.1 of the License, or (at your option)
#  any later version.
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the resolved.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
# Use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config.
# See resolved.conf(5) for details.


Based off

man 5 iwd.config

seems like the MulticastDNS setting should do it, but doesn't seem to have any effect.

                          │MulticastDNS         │ Values: true, false, resolve         │
                          │                     │                                      │
                          │                     │ Configures multicast DNS on each in‐ │
                          │                     │ terface.  If  not  specified,   sys‐ │
                          │                     │ temd-resolved's  default  value will │
                          │                     │ remain untouched.  See  man  5  sys‐ │
                          │                     │ for details.            │
                          │                     │                                      │
                          │                     │ Only  applies when NameResolvingSer‐ │
                          │                     │ vice=systemd.                        │

I tried changing all the MulticastDNS settings to yes/true to no avail as well. Was wondering if anyone has seen anything similar or has any tips for getting it to work.


Board footer

Powered by FluxBB