You are not logged in.

#1 2021-05-23 12:31:29

Kotrfa
Member
Registered: 2012-10-25
Posts: 213

how to make mDNS default with iwd and systemd-resolved

Hi,

I do have `MulticastDNS=yes` in /etc/systemd/resolved.conf, but when I do `systemd-resolve --status` shows this:

Global
           Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
    resolv.conf mode: stub
Fallback DNS Servers: 1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888

Link 3 (enp0s31f6)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 4 (cwbuiltinintel)
    Current Scopes: DNS LLMNR/IPv4
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 10.0.0.138
       DNS Servers: 10.0.0.138
        DNS Domain: router111430.com

that is, my wifi nor ethernet do not have `mDNS` allowed and I have to manually run `sudo systemd-resolve --interface={interface} --set-mdns=yes` after each reboot (then it works flawlessly). Is there any way how I could make it by default on all interfaces?

I use `iwd` and do not use any other network manager (nor systemd-network).

Offline

#2 2021-05-23 14:01:31

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: how to make mDNS default with iwd and systemd-resolved

According to the Wiki, if you insist on systemd-resolved for this use case, you will also need a network manager.

Offline

Board footer

Powered by FluxBB