On Fri, Aug 28, 2020 at 06:16:41PM +0200, Kurt Roeckx wrote: > On Fri, Aug 28, 2020 at 04:55:56PM +0100, Brian Potkin wrote: > > > > ipp:/... is another URI for the printer. Execute > > > > lpadmin -p <a_chosen_print_queue_name> -v <URI> -E -m everywhere > > # lpadmin -p Brother_HL_L2370DN_series -v > ipp://BRN3C2AF4B40D45.local:631/ipp/print -E -m everywhere > lpadmin: Unable to connect to "BRN3C2AF4B40D45.local:631": Name or service > not known > # ping BRN3C2AF4B40D45.local > ping: BRN3C2AF4B40D45.local: Name or service not known > > I do not have nss-mdns installed, nor set up. But avahi-browse > clearly knows that correct IP address.
If I strace it, I only see an attemp to resolve it using DNS, while something like avahi-resolve-host-name actually seems to talk to the avahi daemon. lpadmin is linked to avahi-client, so I expect it to try to use it. It clearly knows how to use it to locate the printer. Kurt