On host erlangen avahi is configured properly:
erlangen:~ # systemctl list-unit-files avahi*
UNIT FILE STATE PRESET
avahi-daemon.service enabled enabled
avahi-dnsconfd.service enabled disabled
avahi-daemon.socket enabled disabled
3 unit files listed.
erlangen:~ #
The above settings ensure a smooth operation of NetworkManager using DHCP / DNS even when frequently booting my desktop machines into other operating systems. No errors encountered since making the switch in December 2022. No errors logged to journal:
erlangen:~ # journalctl -b -g avahi
Mar 23 17:44:59 erlangen systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
Mar 23 17:44:59 erlangen systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Mar 23 17:44:59 erlangen systemd[1]: Started Avahi DNS Configuration Daemon.
Mar 23 17:44:59 erlangen avahi-daemon[943]: Found user 'avahi' (UID 498) and group 'avahi' (GID 497).
Mar 23 17:44:59 erlangen avahi-daemon[943]: avahi-daemon 0.8 starting up.
Mar 23 17:44:59 erlangen systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Mar 23 17:44:59 erlangen avahi-daemon[943]: Loading service file /etc/avahi/services/sftp-ssh.service.
Mar 23 17:44:59 erlangen avahi-daemon[943]: Loading service file /etc/avahi/services/ssh.service.
Mar 23 17:44:59 erlangen avahi-dnsconfd[944]: Successfully connected to Avahi daemon.
Mar 23 17:45:01 erlangen avahi-daemon[943]: Service "erlangen" (/etc/avahi/services/ssh.service) successfully established.
Mar 23 17:45:01 erlangen avahi-daemon[943]: Service "erlangen" (/etc/avahi/services/sftp-ssh.service) successfully established.
erlangen:~ #