Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Thank you for this. The only thing that worked for me was changing the line in /etc/nsswitch.conf to hosts: files mdns_minimal [NOTFOUND=return] dns and doing a reboot. I experimented with resolved also but no joy. I notice now that each ping response takes around 5 seconds, when pinging the hostname. Is there a way to make this faster? Commented Dec 17, 2024 at 10:39
  • That might be avahi being asked to resolve the address back to hostname (i.e. the same kind of problem as I mentioned systemd-resolved having) and waiting the whole 5 seconds for a reply that never arrives. Does mdns4_minimal work any better? If not, then fire up Wireshark and see what kind of requests it's sending... Commented Dec 17, 2024 at 10:45
  • Ah yes, mdns4_minimal does ion fact work much better. Now i'm confused though as mdns4_minimal was the default setting which didn't work initially, but now does. However, I did disable IPV6 in /etc/avahi/avahi-daemon.conf Commented Dec 17, 2024 at 11:14
  • I tried this and I also disabled IPv6, but it did not work. See also Commented Mar 13 at 20:51
  • Also see this question Commented Mar 13 at 22:34