Arch Linux notes

I’ve been using systemd-networkd to manage the network connection on my workstations for years, but lately I’ve been puzzled why mDNS was not working. systemd-resolved has mDNS support.

The solution is to enable MulticastDNS in the network configuration file:

[cbrake@ceres ~]$ more /etc/systemd/network/20-wired.network 
[Match]
Name=enp39s0

[Network]
DHCP=ipv4
MulticastDNS=yes

Now, ssh somemachine.local just works.

Are there any advantages to using Avahi? – perhaps more services could be discovered …

1 Like