[cups.general] /usr/lib/cups/backend/dnssd failed (was: How to debug CUPS/dnssd/mdns)

Michael Sweet msweet at apple.com
Fri Aug 13 08:21:23 PDT 2010


On Aug 13, 2010, at 6:26 AM, Marc Haber wrote:
>> ...
>> Debian normally comes with Avahi - avahi-resolve should replace "dns-sd -L" and avahi-browse should replace "dns-sd -B".
> 
> But how do I use these? I guess that I want to resolve a name to an
> address, so avahi-resolve -n would be correct. But it doesn't work:
> 
> |$ avahi-resolve -n dnssd://C510-Sch8._pdl-datastream._tcp.local/
> |Failed to resolve host name 'dnssd://C510-Sch8._pdl-datastream._tcp.local/': Timeout reached
> |$ avahi-resolve -n C510-Sch8._pdl-datastream._tcp.local
> |Failed to resolve host name 'C510-Sch8._pdl-datastream._tcp.local': Timeout reached
> |$ avahi-resolve -n C510-Sch8
> |Failed to create host name resolver: Invalid host name
> |$ 

Hmm, looks like avahi-resolve doesn't actually support resolving service references...

Use the -r option with avahi-browse:

    avahi-browse -rt _pdl-datastream._tcp

That at least will do the browse and resolve in one step for you.

> 
> With the printer working again, the issue is now purely academic.
> 
> Greetings
> Marc
> -- 
> -------------------------------------- !! No courtesy copies, please !! -----
> Marc Haber         |   " Questions are the         | Mailadresse im Header
> Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
> Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair








More information about the cups mailing list