How to config Avahi?

I use the domain rphs.local to access my Raspberry Pi. In fedora-33 TemplateVM, I set up the following things

  1. In /etc/nsswitch.conf, I put the following line
hosts: ... mdns_minimal [NOTFOUND=return] resolve ...
  1. Enable and start avahi-daemon with the following command
sudo systemctl enable --now avahi-daemon

I restart the TemplateVM before opening untrusted AppVM. However, in this AppVM, I cannot access rphs.local: I cannot ping or access with my web browsers, etc. I can do all of this on my other Archlinux, Mac, Windows machines. Hence, I think something is missing in my configuration, but I don’t know it.

moved to ‘User support’ category

1 Like