popOS mdns local resolution support

So, using popOS, foo.local name resolution does not work (via mdns presumably), and i’m not sure why.

I’m using a netgear orbi setup.
Windows works
macOS works
hell, even debian for raspberry pi works out of the box

pop? nope

I’ve found a bunch of circular threads/configuration man pages discussing how this is meant to be resolved either by avahi or maybe systemd-resolved and other suggestions that maybe avahi and systemd’s resolved will conflict but no firm suggestion as to how pop in particular should be configured to handle this.

Has anyone managed to get mdns working in pop, or debian for that matter since its gone systemd?

The documentation for nsswitch, avahi, systemd-resolved is all… either dev focused or extremely not user friendly.

I mean…

https://avahi.org/

edit:
difference between raspbian and pop for nsswitch.conf:

Raspbian

jrose@pi-server:~ $ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.1.1
nameserver 2403:580f:4c:0:120c:6bff:feeb:7904

popOS

nameserver 127.0.0.53
options edns0 trust-ad
search .

nsswitch.conf:

Raspbian

jrose@pi-server:~ $ cat /etc/nsswitch.conf 
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         files
group:          files
shadow:         files
gshadow:        files

hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

popOS:



root@pop-os:~# cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         files systemd
group:          files systemd
shadow:         files
gshadow:        files

hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

so… imma blame systemd. again

So, I had this working on my RPi running Debian and my RPi running Ubuntu (and ArchLinuxARM at a time). Do you want me to take a look at my configuration when I get home?

I have never used Pop!OS

Nah all good I switched to Manjaro, where it works. Like it works on Raspbian, MacOS, etc.

Pop has been a mixed bag for me. Looks nice, has some nice features, but the core platform with regards to the way updates are handled, things like mDNS not working and out of box installer problems kinda killed it for me.

I’m not bound to any particular distro and haven’t run Manjaro before so…

Also, Manjaro has an ARM native distribution as well which will work for me on the M1Pro Mac and PIs.

Obligatory, “Just use ArchLinuxARM”…
I use ArchLinuxARM by the way…

I’m lazy and don’t want to roll my own for home stuff.

1 Like