getent does not resolve host in .local while avahi does
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
To reproduce:
1)Set up a shared printer.
2) On a computer in the same local network the printer is seen by cups as a dnssd printer.
3) After setting up the printer as a dnssd printer cups cannot print since it cannot locate the printer.
avahi -a -r and avahi-resolve-
getent cannot resolve it and cups fails.
As suggested in
https:/
the issue is related to mdns4_minimal in /etc/nsswitch.conf and the absence of /etc/mdns.allow
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libc-bin 2.31-0ubuntu9.2
ProcVersionSign
Uname: Linux 5.11.0-36-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Sep 26 13:32:43 2021
InstallationDate: Installed on 2020-10-06 (354 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)